|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Request in org.apache.tomcat.core |
Classes in org.apache.tomcat.core that implement Request | |
class |
RequestImpl
|
Fields in org.apache.tomcat.core declared as Request | |
protected Request |
ResponseImpl.request
|
Methods in org.apache.tomcat.core that return Request | |
Request |
Response.getRequest()
|
Request |
ContextManager.createRequest(Context ctx,
java.lang.String urlPath)
Create a new sub-request in a given context, set the context "hint" This is a particular case of sub-request that can't get out of a context ( and we know the context before - so no need to compute it again) Note that session and all stuff will still be computed. |
Request |
ContextManager.createRequest(java.lang.String urlPath)
Create a new sub-request, deal with query string |
Request |
ResponseImpl.getRequest()
|
Request |
Request.getParent()
If this is a sub-request, return the parent |
Request |
Request.getChild()
During include, a sub-request will be created. |
Request |
Request.getTop()
This is the top request ( for a sub-request ) |
Request |
FacadeManager.getRealRequest(javax.servlet.http.HttpServletRequest req)
|
Request |
RequestImpl.getParent()
If this is a sub-request, return the parent |
Request |
RequestImpl.getChild()
During include, a sub-request will be created. |
Request |
RequestImpl.getTop()
This is the top request ( for a sub-request ) |
Methods in org.apache.tomcat.core with parameters of type Request | |
protected void |
Handler.doService(Request req,
Response res)
This is the actual content generator. |
void |
Handler.service(Request req,
Response res)
Call the service method, and notify all listeners |
void |
ServletWrapper.service(Request req,
Response res)
Override service to hook reloading - it can be done in a clean interceptor. |
protected void |
ServletWrapper.doService(Request req,
Response res)
|
void |
Response.setRequest(Request request)
One-to-one relation with Request |
RequestInterceptor[] |
ContextManager.getRequestInterceptors(Request req)
Return all the interceptors associated with a request. |
void |
ContextManager.initRequest(Request req,
Response resp)
Prepare the req/resp pair for use in tomcat. |
void |
ContextManager.service(Request req,
Response res)
This is the entry point in tomcat - the connectors ( or any other component able to generate Request/Response implementations ) will call this method to get it processed. |
int |
ContextManager.processRequest(Request req)
Will find the ServletWrapper for a servlet, assuming we already have the Context. |
int |
ContextManager.doAuthenticate(Request req,
Response res)
Call all authentication callbacks. |
int |
ContextManager.doAuthorize(Request req,
Response res,
java.lang.String[] roles)
Call all authorization callbacks. |
void |
ContextManager.handleStatus(Request req,
Response res,
int code)
Called for error-codes |
void |
ResponseImpl.setRequest(Request request)
|
void |
BufferedServletInputStream.setRequest(Request reqA)
|
int |
RequestInterceptor.contextMap(Request request)
Will detect the context path for a request. |
int |
RequestInterceptor.requestMap(Request request)
Handle mappings inside a context. |
int |
RequestInterceptor.authenticate(Request request,
Response response)
This callback is used to extract and verify the user identity and credentials. |
int |
RequestInterceptor.authorize(Request request,
Response response,
java.lang.String[] reqRoles)
Will check if the current ( authenticated ) user is authorized to access a resource, by checking if it have one of the required roles. |
int |
RequestInterceptor.preService(Request request,
Response response)
Called before service method is invoked. |
int |
RequestInterceptor.newSessionRequest(Request request,
Response response)
New Session notification - called when the servlet asks for a new session. |
int |
RequestInterceptor.beforeBody(Request request,
Response response)
Called before the first body write, and before sending the headers. |
int |
RequestInterceptor.beforeCommit(Request request,
Response response)
Called before the output buffer is commited. |
int |
RequestInterceptor.afterBody(Request request,
Response response)
Called after the output stream is closed ( either by servlet or automatically at end of service ). |
int |
RequestInterceptor.postService(Request request,
Response response)
Called after service method ends. |
void |
Request.setParent(Request req)
|
void |
Request.setChild(Request req)
|
void |
ContextInterceptor.reload(Request req,
Context ctx)
Reload notification - called whenever a reload is done. |
int |
BaseInterceptor.requestMap(Request request)
|
int |
BaseInterceptor.contextMap(Request rrequest)
|
int |
BaseInterceptor.authenticate(Request request,
Response response)
|
int |
BaseInterceptor.authorize(Request request,
Response response,
java.lang.String[] reqRoles)
|
int |
BaseInterceptor.preService(Request request,
Response response)
|
int |
BaseInterceptor.beforeBody(Request rrequest,
Response response)
|
int |
BaseInterceptor.newSessionRequest(Request request,
Response response)
|
int |
BaseInterceptor.beforeCommit(Request request,
Response response)
|
int |
BaseInterceptor.afterBody(Request request,
Response response)
|
int |
BaseInterceptor.postService(Request request,
Response response)
|
void |
BaseInterceptor.reload(Request req,
Context ctx)
|
javax.servlet.http.HttpServletRequest |
FacadeManager.createHttpServletRequestFacade(Request req)
|
void |
FacadeManager.recycle(Request req)
|
void |
RequestImpl.setParent(Request req)
|
void |
RequestImpl.setChild(Request req)
|
Constructors in org.apache.tomcat.core with parameters of type Request | |
BufferedServletInputStream.BufferedServletInputStream(Request reqA)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |