| com.caucho.server.connection.RequestAdapter com.caucho.server.webapp.DispatchRequest
All known Subclasses: com.caucho.server.webapp.IncludeDispatchRequest,
Method Summary | |
public boolean | authenticate() | public static DispatchRequest | createDispatch() Creates a dispatch request. | public void | finish() | public static void | free(DispatchRequest req) Frees the request. | protected void | free() Clears variables. | public String | getContextPath() Returns the servlet context prefix of the webApp. | public ServletInputStream | getInputStream() | public String | getMethod() | public String | getPageContextPath() Gets the servlet context prefix of page. | public String | getPagePathInfo() | public String | getPageQueryString() | public String | getPageServletPath() | public String | getPageURI() | public String | getParameter(String name) | public Map | getParameterMap() | public Enumeration | getParameterNames() | public String[] | getParameterValues(String name) | public String | getPathInfo() | public String | getPathTranslated() | public String | getPwd() | public String | getQueryString() | public BufferedReader | getReader() | public String | getRealPath(String path) | public RequestDispatcher | getRequestDispatcher(String path) | public String | getRequestURI() | public StringBuffer | getRequestURL() | public String | getServletPath() | public HttpSession | getSession(boolean create) Returns the current session. | public ReadStream | getStream() | public WebApp | getWebApp() | void | init(Invocation invocation, WebApp webApp, WebApp oldWebApp, HttpServletRequest request, HttpServletResponse response, String method, String uri, String servletPath, String pathInfo, String queryString, String addedQuery) | public boolean | isUserInRole(String role) Returns true if the user represented by the current request
plays the named role.
Parameters: role - the named role to test. | void | setPageContextPath(String contextPath) Sets the servlet context prefix of page. | void | setPagePathInfo(String pathInfo) | void | setPageQueryString(String queryString) | void | setPageServletPath(String servletPath) | void | setPageURI(String uri) | void | setStream(ReadStream readStream) | public String | toString() |
_readStream | protected ReadStream _readStream(Code) | | |
DispatchRequest | protected DispatchRequest()(Code) | | |
finish | public void finish() throws IOException(Code) | | Cleans up at the end of the request
|
free | protected void free()(Code) | | Clears variables.
|
getContextPath | public String getContextPath()(Code) | | Returns the servlet context prefix of the webApp.
|
getPageContextPath | public String getPageContextPath()(Code) | | Gets the servlet context prefix of page.
|
getParameterMap | public Map getParameterMap()(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 |
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.
|
setPageQueryString | void setPageQueryString(String queryString)(Code) | | |
setPageServletPath | void setPageServletPath(String servletPath)(Code) | | |
setStream | void setStream(ReadStream readStream)(Code) | | |
|
|