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


java.lang.Object
   com.caucho.server.connection.RequestWrapper
      com.caucho.server.connection.RequestAdapter

All known Subclasses:   com.caucho.server.webapp.DispatchRequest,
RequestAdapter
public class RequestAdapter extends RequestWrapper implements CauchoRequest(Code)
Any requests that depends on an underlying request, like include() requests or adapters for other servlet engines.


Field Summary
public static  StringCONTEXT_PATH
    
public static  StringERROR_URI
    
public static  StringEXCEPTION
    
public static  StringEXCEPTION_TYPE
    
public static  StringJSP_EXCEPTION
    
final static  L10NL
    
final static  intMAX_DEPTH
    
public static  StringMESSAGE
    
public static  StringPATH_INFO
    
public static  StringQUERY_STRING
    
public static  StringREQUEST_URI
    
public static  StringSERVLET_NAME
    
public static  StringSERVLET_PATH
    
public static  StringSHUTDOWN
    
public static  StringSTATUS_CODE
    

Constructor Summary
protected  RequestAdapter()
    
protected  RequestAdapter(HttpServletRequest request, WebApp app)
    

Method Summary
public  booleanallowKeepalive()
    
public  booleanauthenticate()
    
public static  RequestAdaptercreate(HttpServletRequest request, WebApp app)
     Creates a new RequestAdapter.
public static  RequestAdaptercreate()
     Creates a new RequestAdapter.
public static  voidfree(RequestAdapter reqAdapt)
     Frees the adapter for reuse.
protected  voidfree()
     Clears the adapter.
public  CookiegetCookie(String name)
    
final protected  StringgetCookieName(SessionManager manager)
    
public  Cookie[]getCookies()
    
public  booleangetHasCookie()
    
public  HttpSessiongetMemorySession()
    
public  StringgetPageContextPath()
    
public static  StringgetPageContextPath(HttpServletRequest request)
    
public  StringgetPagePathInfo()
     Returns the path-info for the current page, i.e.
public static  StringgetPagePathInfo(HttpServletRequest request)
     Returns the path-info for the current page, i.e.
public  StringgetPageQueryString()
     Returns the query-string for the current page, i.e.
public static  StringgetPageQueryString(HttpServletRequest request)
     Returns the query-string for the current page, i.e.
public  StringgetPageServletPath()
     Returns the servlet-path for the current page, i.e.
public static  StringgetPageServletPath(HttpServletRequest request)
     Returns the servlet-path for the current page, i.e.
public  StringgetPageURI()
     Returns the URI for the current page: included or top-level.
public static  StringgetPageURI(HttpServletRequest request)
    
public  intgetRequestDepth(int depth)
    
public  StringgetRequestedSessionId()
    
protected  HttpServletResponsegetResponse()
    
public  HttpSessiongetSession(boolean create)
    
final protected  SessionManagergetSessionManager()
    
public  ReadStreamgetStream()
     Returns the underlying read stream.
public  StringgetVaryCookie()
    
public  booleangetVaryCookies()
    
public  WebAppgetWebApp()
    
public  voidinit(HttpServletRequest request, HttpServletResponse response, WebApp app)
    
public  booleanisRequestedSessionIdFromCookie()
    
public  booleanisRequestedSessionIdFromURL()
    
public  booleanisRequestedSessionIdValid()
    
public  booleanisTop()
    
public  booleanisUserInRole(String role)
     Checks the isUserInRole.
public  voidkillKeepalive()
    
public  voidsetHasCookie()
    
public  voidsetHeader(String key, String value)
    
public  voidsetResponse(CauchoResponse response)
    
public  HashMap<String, String>setRoleMap(HashMap<String, String> map)
     Sets the role map.
public  voidsetVaryCookie(String cookie)
    
public  voidsetWebApp(WebApp app)
    

Field Detail
CONTEXT_PATH
public static String CONTEXT_PATH(Code)



ERROR_URI
public static String ERROR_URI(Code)



EXCEPTION
public static String EXCEPTION(Code)



EXCEPTION_TYPE
public static String EXCEPTION_TYPE(Code)



JSP_EXCEPTION
public static String JSP_EXCEPTION(Code)



L
final static L10N L(Code)



MAX_DEPTH
final static int MAX_DEPTH(Code)



MESSAGE
public static String MESSAGE(Code)



PATH_INFO
public static String PATH_INFO(Code)



QUERY_STRING
public static String QUERY_STRING(Code)



REQUEST_URI
public static String REQUEST_URI(Code)



SERVLET_NAME
public static String SERVLET_NAME(Code)



SERVLET_PATH
public static String SERVLET_PATH(Code)



SHUTDOWN
public static String SHUTDOWN(Code)



STATUS_CODE
public static String STATUS_CODE(Code)




Constructor Detail
RequestAdapter
protected RequestAdapter()(Code)



RequestAdapter
protected RequestAdapter(HttpServletRequest request, WebApp app)(Code)




Method Detail
allowKeepalive
public boolean allowKeepalive()(Code)



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



create
public static RequestAdapter create(HttpServletRequest request, WebApp app)(Code)
Creates a new RequestAdapter.



create
public static RequestAdapter create()(Code)
Creates a new RequestAdapter.



free
public static void free(RequestAdapter reqAdapt)(Code)
Frees the adapter for reuse.



free
protected void free()(Code)
Clears the adapter.



getCookie
public Cookie getCookie(String name)(Code)



getCookieName
final protected String getCookieName(SessionManager manager)(Code)



getCookies
public Cookie[] getCookies()(Code)



getHasCookie
public boolean getHasCookie()(Code)



getMemorySession
public HttpSession getMemorySession()(Code)



getPageContextPath
public String getPageContextPath()(Code)



getPageContextPath
public static String getPageContextPath(HttpServletRequest request)(Code)



getPagePathInfo
public String getPagePathInfo()(Code)
Returns the path-info for the current page, i.e. this will return the url of the include page, not the original request.



getPagePathInfo
public static String getPagePathInfo(HttpServletRequest request)(Code)
Returns the path-info for the current page, i.e. this will return the url of the include page, not the original request.



getPageQueryString
public String getPageQueryString()(Code)
Returns the query-string for the current page, i.e. this will return the url of the include page, not the original request.



getPageQueryString
public static String getPageQueryString(HttpServletRequest request)(Code)
Returns the query-string for the current page, i.e. this will return the url of the include page, not the original request.



getPageServletPath
public String getPageServletPath()(Code)
Returns the servlet-path for the current page, i.e. this will return the url of the include page, not the original request.



getPageServletPath
public static String getPageServletPath(HttpServletRequest request)(Code)
Returns the servlet-path for the current page, i.e. this will return the url of the include page, not the original request.



getPageURI
public String getPageURI()(Code)
Returns the URI for the current page: included or top-level.



getPageURI
public static String getPageURI(HttpServletRequest request)(Code)



getRequestDepth
public int getRequestDepth(int depth)(Code)



getRequestedSessionId
public String getRequestedSessionId()(Code)



getResponse
protected HttpServletResponse getResponse()(Code)



getSession
public HttpSession getSession(boolean create)(Code)



getSessionManager
final protected SessionManager getSessionManager()(Code)



getStream
public ReadStream getStream() throws IOException(Code)
Returns the underlying read stream.



getVaryCookie
public String getVaryCookie()(Code)



getVaryCookies
public boolean getVaryCookies()(Code)



getWebApp
public WebApp getWebApp()(Code)



init
public void init(HttpServletRequest request, HttpServletResponse response, WebApp app) throws ServletException(Code)



isRequestedSessionIdFromCookie
public boolean isRequestedSessionIdFromCookie()(Code)



isRequestedSessionIdFromURL
public boolean isRequestedSessionIdFromURL()(Code)



isRequestedSessionIdValid
public boolean isRequestedSessionIdValid()(Code)



isTop
public boolean isTop()(Code)



isUserInRole
public boolean isUserInRole(String role)(Code)
Checks the isUserInRole.



killKeepalive
public void killKeepalive()(Code)



setHasCookie
public void setHasCookie()(Code)



setHeader
public void setHeader(String key, String value)(Code)



setResponse
public void setResponse(CauchoResponse response)(Code)



setRoleMap
public HashMap<String, String> setRoleMap(HashMap<String, String> map)(Code)
Sets the role map.



setVaryCookie
public void setVaryCookie(String cookie)(Code)



setWebApp
public void setWebApp(WebApp app)(Code)



Fields inherited from com.caucho.server.connection.RequestWrapper
protected HttpServletRequest _request(Code)(Java Doc)

Methods inherited from com.caucho.server.connection.RequestWrapper
protected void free()(Code)(Java Doc)
public Object getAttribute(String name)(Code)(Java Doc)
public Enumeration getAttributeNames()(Code)(Java Doc)
public String getAuthType()(Code)(Java Doc)
public String getCharacterEncoding()(Code)(Java Doc)
public int getContentLength()(Code)(Java Doc)
public String getContentType()(Code)(Java Doc)
public String getContextPath()(Code)(Java Doc)
public Cookie[] getCookies()(Code)(Java Doc)
public long getDateHeader(String name)(Code)(Java Doc)
public String getHeader(String name)(Code)(Java Doc)
public Enumeration getHeaderNames()(Code)(Java Doc)
public Enumeration getHeaders(String name)(Code)(Java Doc)
public ServletInputStream getInputStream() throws IOException(Code)(Java Doc)
public int getIntHeader(String name)(Code)(Java Doc)
public String getLocalAddr()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public int getLocalPort()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public Enumeration getLocales()(Code)(Java Doc)
public String getMethod()(Code)(Java Doc)
public String getParameter(String name)(Code)(Java Doc)
public Map getParameterMap()(Code)(Java Doc)
public Enumeration getParameterNames()(Code)(Java Doc)
public String[] getParameterValues(String name)(Code)(Java Doc)
public String getPathInfo()(Code)(Java Doc)
public String getPathTranslated()(Code)(Java Doc)
public String getProtocol()(Code)(Java Doc)
public String getQueryString()(Code)(Java Doc)
public BufferedReader getReader() throws IOException, IllegalStateException(Code)(Java Doc)
public String getRealPath(String uri)(Code)(Java Doc)
public String getRemoteAddr()(Code)(Java Doc)
public String getRemoteHost()(Code)(Java Doc)
public int getRemotePort()(Code)(Java Doc)
public String getRemoteUser()(Code)(Java Doc)
public HttpServletRequest getRequest()(Code)(Java Doc)
public RequestDispatcher getRequestDispatcher(String uri)(Code)(Java Doc)
public String getRequestURI()(Code)(Java Doc)
public StringBuffer getRequestURL()(Code)(Java Doc)
public String getRequestedSessionId()(Code)(Java Doc)
public String getScheme()(Code)(Java Doc)
public String getServerName()(Code)(Java Doc)
public int getServerPort()(Code)(Java Doc)
public String getServletPath()(Code)(Java Doc)
public HttpSession getSession(boolean create)(Code)(Java Doc)
public HttpSession getSession()(Code)(Java Doc)
public Principal getUserPrincipal()(Code)(Java Doc)
public boolean isRequestedSessionIdFromCookie()(Code)(Java Doc)
public boolean isRequestedSessionIdFromURL()(Code)(Java Doc)
public boolean isRequestedSessionIdFromUrl()(Code)(Java Doc)
public boolean isRequestedSessionIdValid()(Code)(Java Doc)
public boolean isSecure()(Code)(Java Doc)
public boolean isUserInRole(String role)(Code)(Java Doc)
public void removeAttribute(String name)(Code)(Java Doc)
public void setAttribute(String name, Object o)(Code)(Java Doc)
public void setCharacterEncoding(String encoding) throws UnsupportedEncodingException(Code)(Java Doc)
public void setRequest(HttpServletRequest request)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.