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)
|
|