| org.mortbay.jetty.handler.ContextHandler org.mortbay.jetty.servlet.Context
All known Subclasses: org.mortbay.jetty.webapp.WebAppContext,
Context | public class Context extends ContextHandler (Code) | | Servlet Context.
This conveniance extention to the ContextHandler allows for
simple construction of a context with ServletHandler and optionally
session and security handlers, et.
new ServletContext("/context",Context.SESSIONS|Context.NO_SECURITY);
This class should have been called ServletContext, but this would have
cause confusion with
ServletContext .
|
Constructor Summary | |
public | Context() | public | Context(int options) | public | Context(HandlerContainer parent, String contextPath) | public | Context(HandlerContainer parent, String contextPath, int options) | public | Context(HandlerContainer parent, String contextPath, boolean sessions, boolean security) | public | Context(HandlerContainer parent, SessionHandler sessionHandler, SecurityHandler securityHandler, ServletHandler servletHandler, ErrorHandler errorHandler) |
NO_SECURITY | final public static int NO_SECURITY(Code) | | |
NO_SESSIONS | final public static int NO_SESSIONS(Code) | | |
SECURITY | final public static int SECURITY(Code) | | |
SESSIONS | final public static int SESSIONS(Code) | | |
Context | public Context(int options)(Code) | | |
addFilter | public void addFilter(FilterHolder holder, String pathSpec, int dispatches)(Code) | | conveniance method to add a filter
|
Fields inherited from org.mortbay.jetty.handler.ContextHandler | protected SContext _scontext(Code)(Java Doc)
|
|
|