Java Doc for WebAppServlet.java in  » Web-Server » Acme-WebServer » rogatkin » web » 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 Server » Acme WebServer » rogatkin.web 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.servlet.http.HttpServlet
   rogatkin.web.WebAppServlet

WebAppServlet
public class WebAppServlet extends HttpServlet implements ServletContext(Code)

author:
   dmitriy

Inner Class :protected static interface Openable
Inner Class :protected static class MappingEntry
Inner Class :protected class ServletAccessDescr implements ServletConfig
Inner Class :static enum DispatchFilterType
Inner Class :protected class FilterAccessDescriptor extends ServletAccessDescr implements FilterConfig
Inner Class :protected static class ErrorPageDescr
Inner Class :protected class SimpleDispatcher implements RequestDispatcher
Inner Class :protected class WebAppContextFilter implements Filter
Inner Class :protected class SimpleFilterChain implements FilterChain

Field Summary
final public static  StringDEF_DEBUG
    
final public static  StringWAR_NAME_AS_CONTEXTPATH
    
final protected static  StringWEBAPPCLASSLOADER
    
final protected static  StringWEBAPPINITTIMEOUT
    
protected  ArrayList<ServletRequestAttributeListener>attributeListeners
    
protected  Hashtable<String, Object>attributes
    
protected  StringcontextName
    
protected  Hashtable<String, String>contextParameters
    
protected  StringcontextPath
    
 URL[]cpUrls
    
 FiledeployDir
    
protected  List<ErrorPageDescr>errorPages
    
 List<FilterAccessDescriptor>filters
    
 intinitTimeout
    
protected  List<EventListener>listeners
    
protected  Map<String, String>mimes
    
protected  ArrayList<ServletRequestListener>requestListeners
    
 Serveserver
    
 List<ServletAccessDescr>servlets
    
protected  List<HttpSessionListener>sessionListeners
    
 intsessionTimeout
    
 URLClassLoaderucl
    
protected  List<String>welcomeFiles
    

Constructor Summary
protected  WebAppServlet(String context)
    

Method Summary
protected  voidaddJSPServlet(List<String> patterns)
    
static  voidaddMultiple(NodeList list, D d)
    
protected  SimpleFilterChainbuildFilterChain(String servletName, String requestPath, DispatchFilterType filterType)
    
public static  StringbuildREbyPathPatt(String pathPat)
    
public static  StringclearPath(String pathMask)
    
public static  WebAppServletcreate(File deployDir, String context, Serve server)
    
protected  ServletAccessDescrcreateDescriptor()
    
protected  FilterAccessDescriptorcreateFilterDescriptor()
    
public  voiddestroy()
    
public static  StringextractPath(String uri, String context, String servlet, boolean info)
    
protected  voidfillSecureAttrs(ServletRequest req)
    
public  java.lang.ObjectgetAttribute(java.lang.String name)
    
public  java.util.EnumerationgetAttributeNames()
    
public  ServletContextgetContext(java.lang.String uripath)
    
public  StringgetContextPath()
    
public  java.lang.StringgetInitParameter(java.lang.String name)
    
public  java.util.EnumerationgetInitParameterNames()
    
public  intgetMajorVersion()
    
public  java.lang.StringgetMimeType(java.lang.String file)
    
public  intgetMinorVersion()
    
public  RequestDispatchergetNamedDispatcher(java.lang.String name)
    
public  java.lang.StringgetRealPath(java.lang.String path)
    
public  RequestDispatchergetRequestDispatcher(java.lang.String path)
    
public  java.net.URLgetResource(java.lang.String path)
    
public  java.io.InputStreamgetResourceAsStream(java.lang.String path)
    
public  java.util.SetgetResourcePaths(java.lang.String path)
    
public  java.lang.StringgetServerInfo()
    
public  ServletgetServlet(java.lang.String name)
    
public  StringgetServletContextName()
    
public  java.util.EnumerationgetServletNames()
    
public  java.util.EnumerationgetServlets()
    
public  voidlog(java.lang.String msg)
    
public  voidlog(java.lang.Exception exception, java.lang.String msg)
    
public  voidlog(java.lang.String message, java.lang.Throwable throwable)
    
protected  voidmakeCP(File dd)
    
protected  FilternewFilterInstance(FilterAccessDescriptor descr)
    
protected  ServletnewInstance(ServletAccessDescr descr)
    
public  voidremoveAttribute(java.lang.String name)
    
protected  voidreturnFileContent(String path, HttpServletRequest req, HttpServletResponse res)
    
public  voidservice(ServletRequest req, ServletResponse res)
    
public  voidsetAttribute(java.lang.String name, java.lang.Object object)
    
protected  voidsetErrorAttributes(ServletRequest req, int status, String msg, String servletName, String requestURI, Throwable t, Class eclass)
    
protected static  Serve.ServeConnectiontoServeConnection(Object proxy)
    
public static  StringvalidatePath(String path)
    

Field Detail
DEF_DEBUG
final public static String DEF_DEBUG(Code)



WAR_NAME_AS_CONTEXTPATH
final public static String WAR_NAME_AS_CONTEXTPATH(Code)



WEBAPPCLASSLOADER
final protected static String WEBAPPCLASSLOADER(Code)



WEBAPPINITTIMEOUT
final protected static String WEBAPPINITTIMEOUT(Code)



attributeListeners
protected ArrayList<ServletRequestAttributeListener> attributeListeners(Code)



attributes
protected Hashtable<String, Object> attributes(Code)



contextName
protected String contextName(Code)



contextParameters
protected Hashtable<String, String> contextParameters(Code)



contextPath
protected String contextPath(Code)



cpUrls
URL[] cpUrls(Code)



deployDir
File deployDir(Code)



errorPages
protected List<ErrorPageDescr> errorPages(Code)



filters
List<FilterAccessDescriptor> filters(Code)



initTimeout
int initTimeout(Code)



listeners
protected List<EventListener> listeners(Code)



mimes
protected Map<String, String> mimes(Code)



requestListeners
protected ArrayList<ServletRequestListener> requestListeners(Code)



server
Serve server(Code)



servlets
List<ServletAccessDescr> servlets(Code)



sessionListeners
protected List<HttpSessionListener> sessionListeners(Code)



sessionTimeout
int sessionTimeout(Code)



ucl
URLClassLoader ucl(Code)



welcomeFiles
protected List<String> welcomeFiles(Code)




Constructor Detail
WebAppServlet
protected WebAppServlet(String context)(Code)




Method Detail
addJSPServlet
protected void addJSPServlet(List<String> patterns)(Code)



addMultiple
static void addMultiple(NodeList list, D d)(Code)



buildFilterChain
protected SimpleFilterChain buildFilterChain(String servletName, String requestPath, DispatchFilterType filterType)(Code)



buildREbyPathPatt
public static String buildREbyPathPatt(String pathPat)(Code)



clearPath
public static String clearPath(String pathMask)(Code)



create
public static WebAppServlet create(File deployDir, String context, Serve server) throws ServletException(Code)



createDescriptor
protected ServletAccessDescr createDescriptor()(Code)



createFilterDescriptor
protected FilterAccessDescriptor createFilterDescriptor()(Code)



destroy
public void destroy()(Code)



extractPath
public static String extractPath(String uri, String context, String servlet, boolean info)(Code)



fillSecureAttrs
protected void fillSecureAttrs(ServletRequest req)(Code)



getAttribute
public java.lang.Object getAttribute(java.lang.String name)(Code)



getAttributeNames
public java.util.Enumeration getAttributeNames()(Code)



getContext
public ServletContext getContext(java.lang.String uripath)(Code)



getContextPath
public String getContextPath()(Code)



getInitParameter
public java.lang.String getInitParameter(java.lang.String name)(Code)



getInitParameterNames
public java.util.Enumeration getInitParameterNames()(Code)



getMajorVersion
public int getMajorVersion()(Code)



getMimeType
public java.lang.String getMimeType(java.lang.String file)(Code)



getMinorVersion
public int getMinorVersion()(Code)



getNamedDispatcher
public RequestDispatcher getNamedDispatcher(java.lang.String name)(Code)



getRealPath
public java.lang.String getRealPath(java.lang.String path)(Code)



getRequestDispatcher
public RequestDispatcher getRequestDispatcher(java.lang.String path)(Code)



getResource
public java.net.URL getResource(java.lang.String path) throws java.net.MalformedURLException(Code)



getResourceAsStream
public java.io.InputStream getResourceAsStream(java.lang.String path)(Code)



getResourcePaths
public java.util.Set getResourcePaths(java.lang.String path)(Code)



getServerInfo
public java.lang.String getServerInfo()(Code)



getServlet
public Servlet getServlet(java.lang.String name) throws ServletException(Code)



getServletContextName
public String getServletContextName()(Code)



getServletNames
public java.util.Enumeration getServletNames()(Code)



getServlets
public java.util.Enumeration getServlets()(Code)



log
public void log(java.lang.String msg)(Code)



log
public void log(java.lang.Exception exception, java.lang.String msg)(Code)



log
public void log(java.lang.String message, java.lang.Throwable throwable)(Code)



makeCP
protected void makeCP(File dd) throws IOException(Code)



newFilterInstance
protected Filter newFilterInstance(FilterAccessDescriptor descr) throws ServletException(Code)



newInstance
protected Servlet newInstance(ServletAccessDescr descr) throws ServletException(Code)



removeAttribute
public void removeAttribute(java.lang.String name)(Code)



returnFileContent
protected void returnFileContent(String path, HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException(Code)



service
public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)



setAttribute
public void setAttribute(java.lang.String name, java.lang.Object object)(Code)



setErrorAttributes
protected void setErrorAttributes(ServletRequest req, int status, String msg, String servletName, String requestURI, Throwable t, Class eclass)(Code)



toServeConnection
protected static Serve.ServeConnection toServeConnection(Object proxy)(Code)



validatePath
public static String validatePath(String path)(Code)



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.