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

Variable Index

 o methods

Constructor Index

 o BaseInterceptor()

Method Index

 o addContainer(Container)
 o addContext(ContextManager, Context)
Called when a context is added to a CM
 o addSecurityConstraint(Context, String, Container)
 o afterBody(Request, Response)
 o authenticate(Request, Response)
 o authorize(Request, Response)
 o beforeBody(Request, Response)
 o beforeCommit(Request, Response)
 o contextInit(Context)
 o contextMap(Request)
 o contextShutdown(Context)
 o engineInit(ContextManager)
Called when the ContextManger is started
 o engineShutdown(ContextManager)
Called before the ContextManager is stoped.
 o getMethods()
 o postService(Request, Response)
 o postServletDestroy(Context, ServletWrapper)
 o postServletInit(Context, ServletWrapper)
 o preService(Request, Response)
 o preServletDestroy(Context, ServletWrapper)
Servlet Destroy notification
 o preServletInit(Context, ServletWrapper)
Servlet Init notification
 o removeContainer(Container)
 o removeContext(ContextManager, Context)
Called when a context is removed from a CM
 o requestMap(Request)
 o setContextManager(ContextManager)

Variables

 o methods
 protected String methods[]

Constructors

 o BaseInterceptor
 public BaseInterceptor()

Methods

 o setContextManager
 public void setContextManager(ContextManager cm)
 o requestMap
 public int requestMap(Request request)
 o contextMap
 public int contextMap(Request rrequest)
 o authenticate
 public int authenticate(Request request,
                         Response response)
 o authorize
 public int authorize(Request request,
                      Response response)
 o preService
 public int preService(Request request,
                       Response response)
 o beforeBody
 public int beforeBody(Request rrequest,
                       Response response)
 o beforeCommit
 public int beforeCommit(Request request,
                         Response response)
 o afterBody
 public int afterBody(Request request,
                      Response response)
 o postService
 public int postService(Request request,
                        Response response)
 o getMethods
 public String[] getMethods()
 o contextInit
 public void contextInit(Context ctx) throws TomcatException
 o contextShutdown
 public void contextShutdown(Context ctx) throws TomcatException
 o addContainer
 public void addContainer(Container container) throws TomcatException
 o removeContainer
 public void removeContainer(Container container) throws TomcatException
 o addSecurityConstraint
 public void addSecurityConstraint(Context ctx,
                                   String path,
                                   Container ct) throws TomcatException
 o engineInit
 public void engineInit(ContextManager cm) throws TomcatException
Called when the ContextManger is started

 o engineShutdown
 public void engineShutdown(ContextManager cm) throws TomcatException
Called before the ContextManager is stoped. You need to stop any threads and remove any resources.

 o addContext
 public void addContext(ContextManager cm,
                        Context ctx) throws TomcatException
Called when a context is added to a CM

 o removeContext
 public void removeContext(ContextManager cm,
                           Context ctx) throws TomcatException
Called when a context is removed from a CM

 o preServletInit
 public void preServletInit(Context ctx,
                            ServletWrapper sw) throws TomcatException
Servlet Init notification

 o postServletInit
 public void postServletInit(Context ctx,
                             ServletWrapper sw) throws TomcatException
 o preServletDestroy
 public void preServletDestroy(Context ctx,
                               ServletWrapper sw) throws TomcatException
Servlet Destroy notification

 o postServletDestroy
 public void postServletDestroy(Context ctx,
                                ServletWrapper sw) throws TomcatException

All Packages  Class Hierarchy  This Package  Previous  Next  Index