HttpContext instances are created by the create methods in HttpServer and HttpsServer
A chain of {@link Filter} objects can be added to a HttpContext. All exchanges processed by thecontext can be pre- and post-processed by each Filter in the chain. @since 1.6
Container provides the implementation for this and it matches web service requests to corresponding HttpContext objects. @author Jitendra Kotamraju @since JAX-WS 2.2
A HttpContext is analagous to a ServletContext in the Servlet API, except that it may contain other types of handler other than servlets.
A ClassLoader is created for the context and it uses Thread.currentThread().getContextClassLoader(); as it's parent loader. The class loader is initialized during start(), when a derived context calls initClassLoader() or on the first call to loadClass()
Note. that order is important when configuring a HttpContext. For example, if resource serving is enabled before servlets, then resources take priority. @see HttpServer @see HttpHandler @see org.browsermob.proxy.jetty.jetty.servlet.ServletHttpContext @version $Id: HttpContext.java,v 1.136 2006/02/21 09:47:43 gregwilkins Exp $ @author Greg Wilkins (gregw)
HttpContext instances are created by the create methods in HttpServer and HttpsServer
A chain of {@link Filter} objects can be added to a HttpContext. All exchanges processed by thecontext can be pre- and post-processed by each Filter in the chain. @since 1.6
A HttpContext is analagous to a ServletContext in the Servlet API, except that it may contain other types of handler other than servlets.
A ClassLoader is created for the context and it uses Thread.currentThread().getContextClassLoader(); as it's parent loader. The class loader is initialized during start(), when a derived context calls initClassLoader() or on the first call to loadClass()
Note. that order is important when configuring a HttpContext. For example, if resource serving is enabled before servlets, then resources take priority. @see HttpServer @see HttpHandler @see org.openqa.jetty.jetty.servlet.ServletHttpContext @version $Id: HttpContext.java,v 1.136 2006/02/21 09:47:43 gregwilkins Exp $ @author Greg Wilkins (gregw)
Servlets and resources may be registered with an {@code HttpContext} object;if no {@code HttpContext} object is specified, a default {@code HttpContext}object is used. Servlets that are registered using the same {@code HttpContext} object will share the same {@code ServletContext} object.
This interface is implemented by users of the {@code HttpService}. @author $Id: d8c0c4b76891e6be64354967fc984b407bc970ef $
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|