Java Doc for WebAdapterServlet.java in  » Web-Framework » Millstone » org » millstone » webadapter » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Framework » Millstone » org.millstone.webadapter 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.servlet.http.HttpServlet
   org.millstone.webadapter.WebAdapterServlet

WebAdapterServlet
public class WebAdapterServlet extends HttpServlet implements Application.WindowAttachListener,Application.WindowDetachListener,Paintable.RepaintRequestListener(Code)
This servlet is the core of the MillStone Web Adapter, that adapts the MillStone applications to Web standards. The web adapter can be used to represent the most MillStone application using Web browsers and corresponding technologies.
author:
   IT Mill Ltd.
version:
   3.1.1
since:
   3.0

Inner Class :public class ParameterHandlerErrorImpl implements ParameterHandler.ErrorEvent
Inner Class :public class URIHandlerErrorImpl implements URIHandler.ErrorEvent

Field Summary
static  StringSESSION_ATTR_APPS
    
static  StringSESSION_ATTR_CONTEXT
    


Method Summary
protected  voidaddDirtyWindow(Application application, Window window)
    
protected  SetgetDirtyWindows(Application app)
    
public  StringgetResourceLocation(String theme, ThemeResource resource)
     Get relative location of a theme resource.
public  ThemeSourcegetThemeSource()
     Returns the theme source.
public  voidinit(javax.servlet.ServletConfig servletConfig)
     Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
public  booleanisDebugMode()
     Check if web adapter is in debug mode.
protected  voidremoveDirtyWindow(Application application, Window window)
    
public  voidrepaintRequested(RepaintRequestEvent event)
    
protected  voidservice(HttpServletRequest request, HttpServletResponse response)
     Receives standard HTTP requests from the public service method and dispatches them.
public  voidwindowAttached(WindowAttachEvent event)
    
public  voidwindowDetached(WindowDetachEvent event)
    

Field Detail
SESSION_ATTR_APPS
static String SESSION_ATTR_APPS(Code)



SESSION_ATTR_CONTEXT
static String SESSION_ATTR_CONTEXT(Code)





Method Detail
addDirtyWindow
protected void addDirtyWindow(Application application, Window window)(Code)



getDirtyWindows
protected Set getDirtyWindows(Application app)(Code)
Get the list of dirty windows in application



getResourceLocation
public String getResourceLocation(String theme, ThemeResource resource)(Code)
Get relative location of a theme resource.
Parameters:
  theme - Theme name
Parameters:
  resource - Theme resource External URI specifying the resource



getThemeSource
public ThemeSource getThemeSource()(Code)
Returns the theme source. ThemeSource



init
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException(Code)
Called by the servlet container to indicate to a servlet that the servlet is being placed into service.
Parameters:
  servletConfig - object containing the servlet's configuration andinitialization parameters
throws:
  ServletException - if an exception has occurred that interferes with theservlet's normal operation.



isDebugMode
public boolean isDebugMode()(Code)
Check if web adapter is in debug mode. Extra output is generated to log when debug mode is enabled. Debug mode



removeDirtyWindow
protected void removeDirtyWindow(Application application, Window window)(Code)



repaintRequested
public void repaintRequested(RepaintRequestEvent event)(Code)

See Also:   org.millstone.base.terminal.Paintable.RepaintRequestListener.repaintRequested(Paintable.RepaintRequestEvent)



service
protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException(Code)
Receives standard HTTP requests from the public service method and dispatches them.
Parameters:
  request - object that contains the request the client made of theservlet
Parameters:
  response - object that contains the response the servlet returns to theclient
throws:
  ServletException - if an input or output error occurs while the servlet ishandling the TRACE request
throws:
  IOException - if the request for the TRACE cannot be handled



windowAttached
public void windowAttached(WindowAttachEvent event)(Code)

See Also:   org.millstone.base.Application.WindowAttachListener.windowAttached(Application.WindowAttachEvent)



windowDetached
public void windowDetached(WindowDetachEvent event)(Code)

See Also:   org.millstone.base.Application.WindowDetachListener.windowDetached(Application.WindowDetachEvent)



Methods inherited from javax.servlet.http.HttpServlet
protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
protected long getLastModified(HttpServletRequest req)(Code)(Java Doc)
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc)
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.