|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Context in org.apache.tomcat.core |
Fields in org.apache.tomcat.core declared as Context | |
protected Context |
ServletWrapper.context
|
protected Context |
RequestImpl.context
|
Methods in org.apache.tomcat.core that return Context | |
Context |
Container.getContext()
|
protected Context |
ServletWrapper.getContext()
|
Context |
ContextManager.getContext(java.lang.String name)
Gets a context by it's name, or null if there is
no such context. |
Context |
Request.getContext()
|
Context |
ServletContextFacade.getRealContext()
The one package level hole through the facade for use by the default servlet and invoker servlet |
Context |
RequestImpl.getContext()
|
Methods in org.apache.tomcat.core with parameters of type Context | |
boolean |
RequestSecurityProvider.isUserInRole(Context context,
javax.servlet.http.HttpServletRequest req,
java.lang.String role)
Deprecated. |
java.security.Principal |
RequestSecurityProvider.getUserPrincipal(Context context,
javax.servlet.http.HttpServletRequest req)
Deprecated. |
boolean |
RequestSecurityProvider.isSecure(Context context,
javax.servlet.http.HttpServletRequest req)
Deprecated. |
void |
Container.setContext(Context ctx)
|
void |
ServletWrapper.setContext(Context context)
|
javax.servlet.http.HttpSession |
SessionManager.createSession(Context ctx)
Construct and return a new session object, based on the default settings specified by this Manager's properties. |
void |
SessionManager.accessed(Context ctx,
Request req,
java.lang.String id)
Will mark the session lastAccess time. |
javax.servlet.http.HttpSession |
SessionManager.findSession(Context ctx,
java.lang.String id)
Return the active Session, associated with this Manager, with the specified session id (if any); otherwise return null . |
void |
SessionManager.removeSessions(Context ctx)
Used by context when stoped, need to remove all sessions used by that context |
void |
ContextManager.initContext(Context ctx)
Initializes this context to take on requests. |
void |
ContextManager.shutdownContext(Context ctx)
|
void |
ContextManager.addContext(Context ctx)
Adds a new Context to the set managed by this ContextManager. |
void |
Request.setContext(Context context)
Context - will be set by contextMap stage of request interceptors |
void |
ContextInterceptor.addContext(ContextManager cm,
Context ctx)
Called when a context is added to a CM. |
void |
ContextInterceptor.contextInit(Context ctx)
Notify when a context is initialized. |
void |
ContextInterceptor.contextShutdown(Context ctx)
Called when a context is stoped, before removeContext. |
void |
ContextInterceptor.removeContext(ContextManager cm,
Context ctx)
Called when a context is removed from a CM. |
void |
ContextInterceptor.preServletInit(Context ctx,
ServletWrapper sw)
Servlet Init notification. |
void |
ContextInterceptor.postServletInit(Context ctx,
ServletWrapper sw)
|
void |
ContextInterceptor.preServletDestroy(Context ctx,
ServletWrapper sw)
Servlet Destroy notification |
void |
ContextInterceptor.postServletDestroy(Context ctx,
ServletWrapper sw)
|
boolean |
SimpleRequestSecurityProviderImpl.isUserInRole(Context context,
javax.servlet.http.HttpServletRequest req,
java.lang.String role)
Returns a boolean indicating whether the authenticated user is included in the specified logical "role". |
java.security.Principal |
SimpleRequestSecurityProviderImpl.getUserPrincipal(Context context,
javax.servlet.http.HttpServletRequest req)
Returns a java.security.Principal object containing the name of the current authenticated user. |
boolean |
SimpleRequestSecurityProviderImpl.isSecure(Context context,
javax.servlet.http.HttpServletRequest req)
Returns a boolean indicating whether this request was made using a secure channel, such as HTTPS |
void |
BaseInterceptor.contextInit(Context ctx)
|
void |
BaseInterceptor.contextShutdown(Context ctx)
|
void |
BaseInterceptor.addSecurityConstraint(Context ctx,
java.lang.String path,
Container ct)
|
void |
BaseInterceptor.addContext(ContextManager cm,
Context ctx)
Called when a context is added to a CM |
void |
BaseInterceptor.removeContext(ContextManager cm,
Context ctx)
Called when a context is removed from a CM |
void |
BaseInterceptor.preServletInit(Context ctx,
ServletWrapper sw)
Servlet Init notification |
void |
BaseInterceptor.postServletInit(Context ctx,
ServletWrapper sw)
|
void |
BaseInterceptor.preServletDestroy(Context ctx,
ServletWrapper sw)
Servlet Destroy notification |
void |
BaseInterceptor.postServletDestroy(Context ctx,
ServletWrapper sw)
|
void |
RequestImpl.setContext(Context context)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |