Package org.eclipse.jetty.webapp
Class WebAppContext.Context
- java.lang.Object
-
- org.eclipse.jetty.util.AttributesMap
-
- org.eclipse.jetty.server.handler.ContextHandler.StaticContext
-
- org.eclipse.jetty.server.handler.ContextHandler.Context
-
- org.eclipse.jetty.servlet.ServletContextHandler.Context
-
- org.eclipse.jetty.webapp.WebAppContext.Context
-
- All Implemented Interfaces:
ServletContext,org.eclipse.jetty.util.Attributes,org.eclipse.jetty.util.component.Dumpable
- Enclosing class:
- WebAppContext
public class WebAppContext.Context extends org.eclipse.jetty.servlet.ServletContextHandler.Context
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.server.handler.ContextHandler.Context
_enabled, _extendedListenerTypes
-
Fields inherited from interface javax.servlet.ServletContext
ORDERED_LIBS, TEMPDIR
-
-
Constructor Summary
Constructors Constructor Description Context()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckListener(Class<? extends EventListener> listener)ServletContextgetContext(String uripath)URLgetResource(String path)-
Methods inherited from class org.eclipse.jetty.servlet.ServletContextHandler.Context
addFilter, addFilter, addFilter, addListener, addListener, addListener, addServlet, addServlet, addServlet, createFilter, createListener, createServlet, declareRoles, getDefaultSessionTrackingModes, getEffectiveSessionTrackingModes, getFilterRegistration, getFilterRegistrations, getJspConfigDescriptor, getNamedDispatcher, getServletRegistration, getServletRegistrations, getSessionCookieConfig, setInitParameter, setJspConfigDescriptor, setSessionTrackingModes
-
Methods inherited from class org.eclipse.jetty.server.handler.ContextHandler.Context
createInstance, getAttribute, getAttributeNames, getClassLoader, getContextHandler, getContextPath, getInitParameter, getInitParameterNames, getMimeType, getRealPath, getRequestDispatcher, getResourceAsStream, getResourcePaths, getServletContextName, getVirtualServerName, isEnabled, isExtendedListenerTypes, log, log, log, removeAttribute, setAttribute, setEnabled, setExtendedListenerTypes, toString
-
Methods inherited from class org.eclipse.jetty.server.handler.ContextHandler.StaticContext
getEffectiveMajorVersion, getEffectiveMinorVersion, getMajorVersion, getMinorVersion, getServerInfo, getServlet, getServletNames, getServlets, setEffectiveMajorVersion, setEffectiveMinorVersion
-
-
-
-
Method Detail
-
checkListener
public void checkListener(Class<? extends EventListener> listener) throws IllegalStateException
- Overrides:
checkListenerin classorg.eclipse.jetty.server.handler.ContextHandler.Context- Throws:
IllegalStateException
-
getResource
public URL getResource(String path) throws MalformedURLException
- Specified by:
getResourcein interfaceServletContext- Overrides:
getResourcein classorg.eclipse.jetty.server.handler.ContextHandler.Context- Throws:
MalformedURLException
-
getContext
public ServletContext getContext(String uripath)
- Specified by:
getContextin interfaceServletContext- Overrides:
getContextin classorg.eclipse.jetty.server.handler.ContextHandler.Context
-
-