Package org.eclipse.jetty.webapp
Class WebAppContext.Context
- java.lang.Object
-
- All Implemented Interfaces:
javax.servlet.ServletContext
,Attributes
,Dumpable
- Enclosing class:
- WebAppContext
public class WebAppContext.Context extends ServletContextHandler.Context
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Attributes
Attributes.Wrapper
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.Dumpable
Dumpable.DumpableContainer
-
-
Field Summary
-
Fields inherited from class org.eclipse.jetty.server.handler.ContextHandler.Context
_enabled, _extendedListenerTypes
-
-
Constructor Summary
Constructors Constructor Description Context()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkListener(java.lang.Class<? extends java.util.EventListener> listener)
javax.servlet.ServletContext
getContext(java.lang.String uripath)
java.net.URL
getResource(java.lang.String path)
-
Methods inherited from class org.eclipse.jetty.servlet.ServletContextHandler.Context
addFilter, addFilter, addFilter, addListener, addListener, addListener, addServlet, addServlet, addServlet, createInstance, declareRoles, destroyFilter, destroyServlet, getDefaultSessionTrackingModes, getEffectiveSessionTrackingModes, getFilterRegistration, getFilterRegistrations, getJspConfigDescriptor, getNamedDispatcher, getServletRegistration, getServletRegistrations, getSessionCookieConfig, setInitParameter, setJspConfigDescriptor, setSessionTrackingModes
-
Methods inherited from class org.eclipse.jetty.server.handler.ContextHandler.Context
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
createFilter, createListener, createServlet, getEffectiveMajorVersion, getEffectiveMinorVersion, getMajorVersion, getMinorVersion, getServerInfo, getServlet, getServletNames, getServlets, setEffectiveMajorVersion, setEffectiveMinorVersion
-
Methods inherited from class org.eclipse.jetty.util.AttributesMap
addAll, clearAttributes, dump, dump, getAttributeEntrySet, getAttributeNamesCopy, getAttributeNameSet, size
-
-
-
-
Method Detail
-
checkListener
public void checkListener(java.lang.Class<? extends java.util.EventListener> listener) throws java.lang.IllegalStateException
- Overrides:
checkListener
in classContextHandler.Context
- Throws:
java.lang.IllegalStateException
-
getResource
public java.net.URL getResource(java.lang.String path) throws java.net.MalformedURLException
- Specified by:
getResource
in interfacejavax.servlet.ServletContext
- Overrides:
getResource
in classContextHandler.Context
- Throws:
java.net.MalformedURLException
-
getContext
public javax.servlet.ServletContext getContext(java.lang.String uripath)
- Specified by:
getContext
in interfacejavax.servlet.ServletContext
- Overrides:
getContext
in classContextHandler.Context
-
-