Java Doc for DispatchRequest.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » server » webapp » 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 » EJB Server resin 3.1.5 » resin » com.caucho.server.webapp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.caucho.server.connection.RequestAdapter
   com.caucho.server.webapp.DispatchRequest

All known Subclasses:   com.caucho.server.webapp.IncludeDispatchRequest,
DispatchRequest
class DispatchRequest extends RequestAdapter (Code)
sub-request for a include() page


Field Summary
protected  ServletInputStreamImpl_is
    
protected  ReadStream_readStream
    
final protected static  Loggerlog
    

Constructor Summary
protected  DispatchRequest()
    

Method Summary
public  booleanauthenticate()
    
public static  DispatchRequestcreateDispatch()
     Creates a dispatch request.
public  voidfinish()
    
public static  voidfree(DispatchRequest req)
     Frees the request.
protected  voidfree()
     Clears variables.
public  StringgetContextPath()
     Returns the servlet context prefix of the webApp.
public  ServletInputStreamgetInputStream()
    
public  StringgetMethod()
    
public  StringgetPageContextPath()
     Gets the servlet context prefix of page.
public  StringgetPagePathInfo()
    
public  StringgetPageQueryString()
    
public  StringgetPageServletPath()
    
public  StringgetPageURI()
    
public  StringgetParameter(String name)
    
public  MapgetParameterMap()
    
public  EnumerationgetParameterNames()
    
public  String[]getParameterValues(String name)
    
public  StringgetPathInfo()
    
public  StringgetPathTranslated()
    
public  StringgetPwd()
    
public  StringgetQueryString()
    
public  BufferedReadergetReader()
    
public  StringgetRealPath(String path)
    
public  RequestDispatchergetRequestDispatcher(String path)
    
public  StringgetRequestURI()
    
public  StringBuffergetRequestURL()
    
public  StringgetServletPath()
    
public  HttpSessiongetSession(boolean create)
     Returns the current session.
public  ReadStreamgetStream()
    
public  WebAppgetWebApp()
    
 voidinit(Invocation invocation, WebApp webApp, WebApp oldWebApp, HttpServletRequest request, HttpServletResponse response, String method, String uri, String servletPath, String pathInfo, String queryString, String addedQuery)
    
public  booleanisUserInRole(String role)
     Returns true if the user represented by the current request plays the named role.
Parameters:
  role - the named role to test.
 voidsetPageContextPath(String contextPath)
     Sets the servlet context prefix of page.
 voidsetPagePathInfo(String pathInfo)
    
 voidsetPageQueryString(String queryString)
    
 voidsetPageServletPath(String servletPath)
    
 voidsetPageURI(String uri)
    
 voidsetStream(ReadStream readStream)
    
public  StringtoString()
    

Field Detail
_is
protected ServletInputStreamImpl _is(Code)



_readStream
protected ReadStream _readStream(Code)



log
final protected static Logger log(Code)




Constructor Detail
DispatchRequest
protected DispatchRequest()(Code)




Method Detail
authenticate
public boolean authenticate() throws ServletException, IOException(Code)



createDispatch
public static DispatchRequest createDispatch()(Code)
Creates a dispatch request.



finish
public void finish() throws IOException(Code)
Cleans up at the end of the request



free
public static void free(DispatchRequest req)(Code)
Frees the request.



free
protected void free()(Code)
Clears variables.



getContextPath
public String getContextPath()(Code)
Returns the servlet context prefix of the webApp.



getInputStream
public ServletInputStream getInputStream() throws IOException(Code)



getMethod
public String getMethod()(Code)



getPageContextPath
public String getPageContextPath()(Code)
Gets the servlet context prefix of page.



getPagePathInfo
public String getPagePathInfo()(Code)



getPageQueryString
public String getPageQueryString()(Code)



getPageServletPath
public String getPageServletPath()(Code)



getPageURI
public String getPageURI()(Code)



getParameter
public String getParameter(String name)(Code)



getParameterMap
public Map getParameterMap()(Code)



getParameterNames
public Enumeration getParameterNames()(Code)



getParameterValues
public String[] getParameterValues(String name)(Code)



getPathInfo
public String getPathInfo()(Code)



getPathTranslated
public String getPathTranslated()(Code)



getPwd
public String getPwd()(Code)



getQueryString
public String getQueryString()(Code)



getReader
public BufferedReader getReader() throws IOException(Code)



getRealPath
public String getRealPath(String path)(Code)



getRequestDispatcher
public RequestDispatcher getRequestDispatcher(String path)(Code)



getRequestURI
public String getRequestURI()(Code)



getRequestURL
public StringBuffer getRequestURL()(Code)
Returns the URL for the request



getServletPath
public String getServletPath()(Code)



getSession
public HttpSession getSession(boolean create)(Code)
Returns the current session.
Parameters:
  create - true if a new session should be created the current session



getStream
public ReadStream getStream() throws IOException(Code)



getWebApp
public WebApp getWebApp()(Code)



init
void init(Invocation invocation, WebApp webApp, WebApp oldWebApp, HttpServletRequest request, HttpServletResponse response, String method, String uri, String servletPath, String pathInfo, String queryString, String addedQuery) throws ServletException(Code)



isUserInRole
public boolean isUserInRole(String role)(Code)
Returns true if the user represented by the current request plays the named role.
Parameters:
  role - the named role to test. true if the user plays the role.



setPageContextPath
void setPageContextPath(String contextPath)(Code)
Sets the servlet context prefix of page.



setPagePathInfo
void setPagePathInfo(String pathInfo)(Code)



setPageQueryString
void setPageQueryString(String queryString)(Code)



setPageServletPath
void setPageServletPath(String servletPath)(Code)



setPageURI
void setPageURI(String uri)(Code)



setStream
void setStream(ReadStream readStream)(Code)



toString
public String toString()(Code)



Fields inherited from com.caucho.server.connection.RequestAdapter
public static String CONTEXT_PATH(Code)(Java Doc)
public static String ERROR_URI(Code)(Java Doc)
public static String EXCEPTION(Code)(Java Doc)
public static String EXCEPTION_TYPE(Code)(Java Doc)
public static String JSP_EXCEPTION(Code)(Java Doc)
public static String MESSAGE(Code)(Java Doc)
public static String PATH_INFO(Code)(Java Doc)
public static String QUERY_STRING(Code)(Java Doc)
public static String REQUEST_URI(Code)(Java Doc)
public static String SERVLET_NAME(Code)(Java Doc)
public static String SERVLET_PATH(Code)(Java Doc)
public static String SHUTDOWN(Code)(Java Doc)
public static String STATUS_CODE(Code)(Java Doc)

Methods inherited from com.caucho.server.connection.RequestAdapter
public boolean allowKeepalive()(Code)(Java Doc)
public boolean authenticate() throws ServletException, IOException(Code)(Java Doc)
public static RequestAdapter create(HttpServletRequest request, WebApp app)(Code)(Java Doc)
public static RequestAdapter create()(Code)(Java Doc)
public static void free(RequestAdapter reqAdapt)(Code)(Java Doc)
protected void free()(Code)(Java Doc)
public Cookie getCookie(String name)(Code)(Java Doc)
final protected String getCookieName(SessionManager manager)(Code)(Java Doc)
public Cookie[] getCookies()(Code)(Java Doc)
public boolean getHasCookie()(Code)(Java Doc)
public HttpSession getMemorySession()(Code)(Java Doc)
public String getPageContextPath()(Code)(Java Doc)
public static String getPageContextPath(HttpServletRequest request)(Code)(Java Doc)
public String getPagePathInfo()(Code)(Java Doc)
public static String getPagePathInfo(HttpServletRequest request)(Code)(Java Doc)
public String getPageQueryString()(Code)(Java Doc)
public static String getPageQueryString(HttpServletRequest request)(Code)(Java Doc)
public String getPageServletPath()(Code)(Java Doc)
public static String getPageServletPath(HttpServletRequest request)(Code)(Java Doc)
public String getPageURI()(Code)(Java Doc)
public static String getPageURI(HttpServletRequest request)(Code)(Java Doc)
public int getRequestDepth(int depth)(Code)(Java Doc)
public String getRequestedSessionId()(Code)(Java Doc)
protected HttpServletResponse getResponse()(Code)(Java Doc)
public HttpSession getSession(boolean create)(Code)(Java Doc)
final protected SessionManager getSessionManager()(Code)(Java Doc)
public ReadStream getStream() throws IOException(Code)(Java Doc)
public String getVaryCookie()(Code)(Java Doc)
public boolean getVaryCookies()(Code)(Java Doc)
public WebApp getWebApp()(Code)(Java Doc)
public void init(HttpServletRequest request, HttpServletResponse response, WebApp app) throws ServletException(Code)(Java Doc)
public boolean isRequestedSessionIdFromCookie()(Code)(Java Doc)
public boolean isRequestedSessionIdFromURL()(Code)(Java Doc)
public boolean isRequestedSessionIdValid()(Code)(Java Doc)
public boolean isTop()(Code)(Java Doc)
public boolean isUserInRole(String role)(Code)(Java Doc)
public void killKeepalive()(Code)(Java Doc)
public void setHasCookie()(Code)(Java Doc)
public void setHeader(String key, String value)(Code)(Java Doc)
public void setResponse(CauchoResponse response)(Code)(Java Doc)
public HashMap<String, String> setRoleMap(HashMap<String, String> map)(Code)(Java Doc)
public void setVaryCookie(String cookie)(Code)(Java Doc)
public void setWebApp(WebApp app)(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.