|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tomcat.core.BaseInterceptor
org.apache.tomcat.facade.Servlet22Interceptor
Control class for facades - this is the only "gate" between servlets and tomcat. This is an important security component, shouldn't be used for anything else. Please keep all the code short and clean - and review everything very often.
Field Summary | |
static java.lang.String |
SERVLET_STAMP
|
Fields inherited from class org.apache.tomcat.core.BaseInterceptor |
cm, ct, ctx, debug, DECLINED, loghelper, OK |
Constructor Summary | |
Servlet22Interceptor()
|
|
Servlet22Interceptor(Context ctx)
|
Method Summary | |
void |
addContainer(Container ct)
Notify that certain properties are defined for a URL pattern. |
void |
addContext(ContextManager cm,
Context ctx)
Called when a context is added to a CM. |
void |
contextShutdown(Context ctx)
Call servlet.destroy() for all servlets, as required by the spec |
int |
postRequest(Request rreq,
Response rres)
Experimental hook: called after the request is finished, before returning to the caller. |
int |
sessionState(Request req,
ServerSession sess,
int newState)
Call the Servlet22 callbacks when session expires. |
void |
setSTMPoolSize(int size)
|
void |
setUseSTMPool(boolean use)
|
Methods inherited from class org.apache.tomcat.core.BaseInterceptor |
addHandler, addInterceptor, addSecurityConstraint, afterBody, authenticate, authorize, beforeBody, beforeCommit, contextInit, contextMap, contextState, copyContext, engineInit, engineShutdown, engineStart, engineState, engineStop, findSession, getContext, getContextManager, getDebug, getInfo, getLog, getNote, getNote, handleError, log, log, log, log, postInitCheck, postReadRequest, postService, postServletDestroy, postServletInit, preInitCheck, preService, preServletDestroy, preServletInit, registerHooks, reload, removeContainer, removeContext, removeHandler, removeInterceptor, requestMap, setContext, setContextManager, setDebug, setInfo, setNote, setNote |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SERVLET_STAMP
Constructor Detail |
public Servlet22Interceptor()
public Servlet22Interceptor(Context ctx)
Method Detail |
public void setSTMPoolSize(int size)
public void setUseSTMPool(boolean use)
public void contextShutdown(Context ctx) throws TomcatException
contextShutdown
in class BaseInterceptor
TomcatException
public void addContext(ContextManager cm, Context ctx) throws TomcatException
BaseInterceptor
addContext
in class BaseInterceptor
TomcatException
public void addContainer(Container ct) throws TomcatException
BaseInterceptor
addContainer
in class BaseInterceptor
TomcatException
public int sessionState(Request req, ServerSession sess, int newState)
sessionState
in class BaseInterceptor
public int postRequest(Request rreq, Response rres)
BaseInterceptor
postRequest
in class BaseInterceptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |