Uses of Class
org.apache.tomcat.core.Request

Packages that use Request
org.apache.tomcat.core Architecture 
org.apache.tomcat.facade Servlet Facades 
org.apache.tomcat.modules.aaa   
org.apache.tomcat.modules.config   
org.apache.tomcat.modules.generators   
org.apache.tomcat.modules.loggers   
org.apache.tomcat.modules.mappers   
org.apache.tomcat.modules.server Interceptors that are used to connect with a web server, including the standalone http implementation. 
org.apache.tomcat.modules.session   
 

Uses of Request in org.apache.tomcat.core
 

Fields in org.apache.tomcat.core declared as Request
protected  Request Request.top
           
protected  Request Request.parent
           
protected  Request Request.child
           
protected  Request Response.request
           
 

Methods in org.apache.tomcat.core that return Request
 Request Request.getParent()
          If this is a sub-request, return the parent ( the request embeding this request )
 Request Request.getChild()
          During include, a sub-request will be created.
 Request Request.getTop()
          This is the top request ( for a sub-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()
           
 

Methods in org.apache.tomcat.core with parameters of type Request
 int BaseInterceptor.postReadRequest(Request request)
          Called immediately after the request has been received, before any mapping.
 int BaseInterceptor.requestMap(Request request)
          Handle mappings inside a context.
 int BaseInterceptor.contextMap(Request rrequest)
          Will detect the context path for a request.
 int BaseInterceptor.authenticate(Request request, Response response)
          This callback is used to extract and verify the user identity and credentials.
 int BaseInterceptor.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 BaseInterceptor.preService(Request request, Response response)
          Called before service method is invoked.
 int BaseInterceptor.beforeBody(Request rrequest, Response response)
          Called before the first body write, and before sending the headers.
 ServerSession BaseInterceptor.findSession(Request req, java.lang.String reqSessionId, boolean create)
          The hook for session managers.
 int BaseInterceptor.sessionState(Request req, ServerSession sess, int newState)
          Hook for session state changes.
 int BaseInterceptor.beforeCommit(Request request, Response response)
          Called before the output buffer is commited.
 int BaseInterceptor.afterBody(Request request, Response response)
          Called after the output stream is closed ( either by servlet or automatically at end of service ).
 int BaseInterceptor.postService(Request request, Response response)
          Called after service method ends.
 int BaseInterceptor.postRequest(Request request, Response response)
          Experimental hook: called after the request is finished, before returning to the caller.
 java.lang.Object BaseInterceptor.getInfo(Context ctx, Request request, int id, java.lang.String key)
          Hook for lazy evaluation of request info.
 int BaseInterceptor.setInfo(Context ctx, Request request, int id, java.lang.String key, java.lang.Object obj)
           
 int BaseInterceptor.handleError(Request request, Response response, java.lang.Throwable t)
          This callback is called whenever an exception happen.
 void BaseInterceptor.reload(Request req, Context ctx)
          Reload notification - called whenever a reload is done.
 void Request.setParent(Request req)
           
 void Request.setChild(Request req)
           
 void Response.setRequest(Request request)
          Associated request
 void ServerSession.setState(int state, Request req)
          Change the state, call all hooks.
 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 Handler for a servlet, assuming we already have the Context.
 void ContextManager.handleStatus(Request req, Response res, int code)
          Called for error-codes.
 void ContextManager.handleError(Request req, Response res, java.lang.Throwable t)
          Call error hook with an exception code.
 Response ContextManager.createResponse(Request req)
           
 void Handler.service(Request req, Response res)
          Call the service method, and notify all listeners
protected  void Handler.handleServiceError(Request req, Response res, java.lang.Throwable t)
           
protected  void Handler.doService(Request req, Response res)
           
protected  void Handler.invoke(Request req, Response res)
          This is the actual content generator.
 

Uses of Request in org.apache.tomcat.facade
 

Methods in org.apache.tomcat.facade with parameters of type Request
 void ServletHandler.service(Request req, Response res)
           
protected  void ServletHandler.doService(Request req, Response res)
           
protected  void ServletHandler.handleInitError(Request req, Response res, java.lang.Throwable t)
           
protected  void ServletHandler.handleServiceError(Request req, Response res, java.lang.Throwable t)
           
 int JspInterceptor.requestMap(Request req)
          Detect if the request is for a JSP page and if it is find the associated servlet name and compile if needed.
 int Servlet22Interceptor.sessionState(Request req, ServerSession sess, int newState)
          Call the Servlet22 callbacks when session expires.
 int Servlet22Interceptor.postRequest(Request rreq, Response rres)
           
 

Uses of Request in org.apache.tomcat.modules.aaa
 

Methods in org.apache.tomcat.modules.aaa with parameters of type Request
 int RealmBase.authenticate(Request req, Response response)
           
 int CredentialsInterceptor.authenticate(Request req, Response res)
          Extract the credentails from req
 int AccessInterceptor.requestMap(Request req)
          Check if this request requires auth, and if so check the roles.
 int AccessInterceptor.authorize(Request req, Response response, java.lang.String[] roles)
          Handle authorization for requests where certain roles are requires, and a user/password scheme is used to authenticate the user ( BASIC, FORM ) and find the user roles.
 

Uses of Request in org.apache.tomcat.modules.config
 

Methods in org.apache.tomcat.modules.config with parameters of type Request
 java.lang.Object WorkDirSetup.getInfo(Context ctx, Request req, int info, java.lang.String k)
           
 void TrustedLoader.reload(Request req, Context context)
          Again, remove and add back
 void AutoDeploy.reload(Request req, Context context)
           
 void LoaderInterceptor11.reload(Request req, Context context)
          Construct another class loader, when the context is reloaded.
 java.lang.Object LoaderInterceptor11.getInfo(Context ctx, Request req, int info, java.lang.String k)
           
 

Uses of Request in org.apache.tomcat.modules.generators
 

Methods in org.apache.tomcat.modules.generators with parameters of type Request
 int InvokerInterceptor.requestMap(Request req)
           
 int ErrorHandler.handleError(Request req, Response res, java.lang.Throwable t)
           
 int Jdk12Interceptor.preService(Request request, Response response)
          Called before service method is invoked.
 int Jdk12Interceptor.postService(Request request, Response response)
           
 int StaticInterceptor.requestMap(Request req)
           
 

Uses of Request in org.apache.tomcat.modules.loggers
 

Methods in org.apache.tomcat.modules.loggers with parameters of type Request
 int AccountingInterceptor.requestMap(Request request)
           
 int AccountingInterceptor.contextMap(Request request)
           
 int AccountingInterceptor.authenticate(Request request, Response response)
           
 int AccountingInterceptor.authorize(Request request, Response response)
           
 int AccountingInterceptor.preService(Request request, Response response)
           
 int AccountingInterceptor.beforeBody(Request rrequest, Response response)
           
 int AccountingInterceptor.beforeCommit(Request request, Response response)
           
 int AccountingInterceptor.afterBody(Request request, Response response)
           
 int AccountingInterceptor.postService(Request request, Response response)
           
 int AccessLogInterceptor.beforeCommit(Request request, Response response)
          This method is actually creating an entry in the log file.
 int LogEvents.requestMap(Request request)
           
 int LogEvents.contextMap(Request request)
           
 int LogEvents.preService(Request request, Response response)
           
 int LogEvents.authenticate(Request request, Response response)
           
 int LogEvents.authorize(Request request, Response response, java.lang.String[] reqRoles)
           
 int LogEvents.beforeBody(Request request, Response response)
           
 int LogEvents.beforeCommit(Request request, Response response)
           
 int LogEvents.afterBody(Request request, Response response)
           
 int LogEvents.postRequest(Request request, Response response)
           
 int LogEvents.handleError(Request request, Response response, java.lang.Throwable t)
           
 int LogEvents.postService(Request request, Response response)
           
 int LogEvents.newSessionRequest(Request req, Response res)
           
 

Uses of Request in org.apache.tomcat.modules.mappers
 

Methods in org.apache.tomcat.modules.mappers with parameters of type Request
 int DecodeInterceptor.postReadRequest(Request req)
           
 int DecodeInterceptor.beforeBody(Request req, Response res)
          Hook - before the response is sent, get the response encoding and save it per session ( if we are in a session ).
 java.lang.Object DecodeInterceptor.getInfo(Context ctx, Request req, int info, java.lang.String k)
           
 int DecodeInterceptor.setInfo(Context ctx, Request req, int info, java.lang.String k, java.lang.Object v)
           
 void ReloadInterceptor.reload(Request req, Context context)
           
 int ReloadInterceptor.contextMap(Request request)
           
 int SimpleMapper1.contextMap(Request req)
          First step of request processing is finding the Context.
 

Uses of Request in org.apache.tomcat.modules.server
 

Subclasses of Request in org.apache.tomcat.modules.server
 class JNIRequestAdapter
           
 

Methods in org.apache.tomcat.modules.server with parameters of type Request
 int Ajp13.receiveNextRequest(Request req)
          Read a new packet from the web server and decode it.
 java.lang.Object Http10Interceptor.getInfo(Context ctx, Request request, int id, java.lang.String key)
          getInfo calls for SSL data
 

Uses of Request in org.apache.tomcat.modules.session
 

Methods in org.apache.tomcat.modules.session with parameters of type Request
 void SimpleSessionStore.reload(Request req, Context ctx)
           
 ServerSession SimpleSessionStore.findSession(Request request, java.lang.String sessionId, boolean create)
          The session store hook
 int SimpleSessionStore.sessionState(Request req, ServerSession session, int state)
           
 ServerSession SimpleSessionStore.SimpleSessionManager.getNewSession(Request req, Context ctx)
           
 int SessionExpirer.sessionState(Request req, ServerSession session, int state)
           
 int SessionIdGenerator.sessionState(Request req, ServerSession sess, int state)
           
 int SessionId.postReadRequest(Request request)
          Extract the session id from the request.
 int SessionId.requestMap(Request request)
          Extract and set the session id and ServerSession.
 int SessionId.beforeBody(Request rrequest, Response response)
           
 



Copyright © 2001 Apache Software Foundation. All Rights Reserved.