All Packages Class Hierarchy This Package Previous Next Index
Class org.apache.tomcat.core.BaseInterceptor
java.lang.Object
|
+----org.apache.tomcat.core.BaseInterceptor
- public class BaseInterceptor
- extends Object
- implements RequestInterceptor, ContextInterceptor
-
methods
-
-
BaseInterceptor()
-
-
addContainer(Container)
-
-
addContext(ContextManager, Context)
- Called when a context is added to a CM
-
addSecurityConstraint(Context, String, Container)
-
-
afterBody(Request, Response)
-
-
authenticate(Request, Response)
-
-
authorize(Request, Response)
-
-
beforeBody(Request, Response)
-
-
beforeCommit(Request, Response)
-
-
contextInit(Context)
-
-
contextMap(Request)
-
-
contextShutdown(Context)
-
-
engineInit(ContextManager)
- Called when the ContextManger is started
-
engineShutdown(ContextManager)
- Called before the ContextManager is stoped.
-
getMethods()
-
-
postService(Request, Response)
-
-
postServletDestroy(Context, ServletWrapper)
-
-
postServletInit(Context, ServletWrapper)
-
-
preService(Request, Response)
-
-
preServletDestroy(Context, ServletWrapper)
- Servlet Destroy notification
-
preServletInit(Context, ServletWrapper)
- Servlet Init notification
-
removeContainer(Container)
-
-
removeContext(ContextManager, Context)
- Called when a context is removed from a CM
-
requestMap(Request)
-
-
setContextManager(ContextManager)
-
methods
protected String methods[]
BaseInterceptor
public BaseInterceptor()
setContextManager
public void setContextManager(ContextManager cm)
requestMap
public int requestMap(Request request)
contextMap
public int contextMap(Request rrequest)
authenticate
public int authenticate(Request request,
Response response)
authorize
public int authorize(Request request,
Response response)
preService
public int preService(Request request,
Response response)
beforeBody
public int beforeBody(Request rrequest,
Response response)
beforeCommit
public int beforeCommit(Request request,
Response response)
afterBody
public int afterBody(Request request,
Response response)
postService
public int postService(Request request,
Response response)
getMethods
public String[] getMethods()
contextInit
public void contextInit(Context ctx) throws TomcatException
contextShutdown
public void contextShutdown(Context ctx) throws TomcatException
addContainer
public void addContainer(Container container) throws TomcatException
removeContainer
public void removeContainer(Container container) throws TomcatException
addSecurityConstraint
public void addSecurityConstraint(Context ctx,
String path,
Container ct) throws TomcatException
engineInit
public void engineInit(ContextManager cm) throws TomcatException
- Called when the ContextManger is started
engineShutdown
public void engineShutdown(ContextManager cm) throws TomcatException
- Called before the ContextManager is stoped.
You need to stop any threads and remove any resources.
addContext
public void addContext(ContextManager cm,
Context ctx) throws TomcatException
- Called when a context is added to a CM
removeContext
public void removeContext(ContextManager cm,
Context ctx) throws TomcatException
- Called when a context is removed from a CM
preServletInit
public void preServletInit(Context ctx,
ServletWrapper sw) throws TomcatException
- Servlet Init notification
postServletInit
public void postServletInit(Context ctx,
ServletWrapper sw) throws TomcatException
preServletDestroy
public void preServletDestroy(Context ctx,
ServletWrapper sw) throws TomcatException
- Servlet Destroy notification
postServletDestroy
public void postServletDestroy(Context ctx,
ServletWrapper sw) throws TomcatException
All Packages Class Hierarchy This Package Previous Next Index