This handler does not implement the full J2EE features and is intended to
be used when a full web application is not required. Specifically filters
and request wrapping are not supported.
Unless run as part of a Context or derivative, the initialize()
method must be called manually after start().
org.mortbay.jetty.webapp.WebAppContext
| Modifier and Type | Class and Description |
|---|---|
| private class | |
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| protected transient ServletHandler. | |
| private ContextHandler | |
| private boolean | |
| private FilterMapping[] | |
| private transient Map | |
| private transient MultiMap | |
| private transient List | |
| private FilterHolder[] | |
| private int | |
| private ContextHandler. | |
| private ServletMapping[] | |
| private transient Map | |
| private transient PathMap | |
| private ServletHolder[] | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FilterHolder | |
| public void | addFilter(FilterHolder filter, FilterMapping filterMapping)
convenience method to add a filter and mapping |
| public void | |
| public void | |
| public FilterHolder | Returns: The filter holder.conveniance method to add a filter. |
| public FilterHolder | Returns: The filter holder.conveniance method to add a filter. |
| public void | Returns: The filter holder.conveniance method to add a filter. |
| public ServletHolder | addServlet(String className, String pathSpec)
Deprecated
Convenience method to add a servlet with a servlet mapping.
|
| public void | |
| public void | addServletMapping(ServletMapping mapping)
Convenience method to add a pre-constructed ServletMapping. |
| public ServletHolder | Returns: The servlet holder.conveniance method to add a servlet. |
| public ServletHolder | Returns: The servlet holder.conveniance method to add a servlet. |
| public void | Returns: The servlet holder.conveniance method to add a servlet. |
| public Filter | |
| public Filter | |
| public Servlet | |
| public Servlet | |
| protected synchronized void | |
| protected synchronized void | |
| public Object | |
| public FilterHolder | |
| private FilterChain | |
| public FilterMapping[] | |
| public FilterHolder[] | |
| public PathMap. | Returns: PathMap Entries pathspec to ServletHolderPath within _context. pathInContext)ServletHolder matching path. |
| public int | |
| public RequestDispatcher | Returns: Adispatcher wrapping the resource at uriInContext,
or null if the specified uri cannot be dispatched to.
|
| public ServletHolder | |
| public ServletContext | |
| public ServletMapping[] | |
| public ServletHolder[] | |
| public void | handle(String
The target of the request - either a URI or a name. target, HttpServletRequest The request either as the request, HttpServletResponse Request
object or a wrapper of that request. The HttpConnection#getCurrentConnection()
method can be used access the Request object if required.The response as the response, int type)Response
object or a wrapper of that request. The HttpConnection#getCurrentConnection()
method can be used access the Response object if required.Implements org. |
| public void | |
| private void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | Returns: whether there is a ServletHolder that matches this pathPath within _context. pathInContext)Whether there is a ServletHolder that matches this path |
| public FilterHolder | |
| public FilterHolder | |
| public ServletHolder | |
| public ServletHolder | |
| protected void | |
| public void | |
| public void | |
| public synchronized void | |
| public void | |
| public void | setMaxFilterChainsCacheSize(int
the maximum number of entries in a filter chain cache. maxFilterChainsCacheSize)Set the maximum filter chain cache size. |
| public void | setServer(Server server)
Overrides org. Implements org. |
| public void | |
| public synchronized void | |
| public void | |
| protected synchronized void | |
| protected synchronized void |