Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.apache.tomcat.core.Response

Packages that use Response
org.apache.tomcat.core | Architecture
org.apache.tomcat.facade | Servlet Facades
org.apache.tomcat.modules.aaa |
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 Response in org.apache.tomcat.core

Fields in org.apache.tomcat.core declared as Response
`protected Response` | `Request.response`

Methods in org.apache.tomcat.core that return Response
`Response` | `Request.getResponse()`
`Response` | `ContextManager.createResponse(Request req)`

Methods in org.apache.tomcat.core with parameters of type Response
`void` | `Request.setResponse(Response response)`
`void` | `OutputBuffer.setResponse(Response resp)`
`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.
`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.
`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.
`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.
`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.
`int` | `BaseInterceptor.handleError(Request request, Response response, java.lang.Throwable t)` This callback is called whenever an exception happen.

Uses of Response in org.apache.tomcat.facade

Methods in org.apache.tomcat.facade with parameters of type Response
`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` | `Servlet22Interceptor.postRequest(Request rreq, Response rres)`

Constructors in org.apache.tomcat.facade with parameters of type Response
`ServletWriterFacade(OutputBuffer ob, Response resp)`
`ServletOutputStreamFacade(Response resA)`

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

Methods in org.apache.tomcat.modules.aaa with parameters of type Response
`int` | `RealmBase.authenticate(Request req, Response response)`
`int` | `CredentialsInterceptor.authenticate(Request req, Response res)` Extract the credentails from req
`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 Response in org.apache.tomcat.modules.generators

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

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

Methods in org.apache.tomcat.modules.loggers with parameters of type Response
`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)`
`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.postRequest(Request request, Response response)` This method is actually creating an entry in the log file.

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

Methods in org.apache.tomcat.modules.mappers with parameters of type Response
`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 ).

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

Subclasses of Response in org.apache.tomcat.modules.server
`class` | `JNIResponseAdapter`

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

Methods in org.apache.tomcat.modules.session with parameters of type Response
`int` | `SessionId.beforeBody(Request rrequest, Response response)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

Copyright © 2001 Apache Software Foundation. All Rights Reserved.