Uses of Interface
javax.servlet.ServletContext
-
Packages that use ServletContext Package Description javax.servlet javax.servlet.http -
-
Uses of ServletContext in javax.servlet
Methods in javax.servlet that return ServletContext Modifier and Type Method Description ServletContextServletContext. getContext(String uripath)Returns aServletContextobject that corresponds to a specified URL on the server.ServletContextFilterConfig. getServletContext()Returns a reference to theServletContextin which the caller is executing.ServletContextGenericFilter. getServletContext()Returns a reference to theServletContextin which this filter is running.ServletContextGenericServlet. getServletContext()Returns a reference to theServletContextin which this servlet is running.ServletContextServletConfig. getServletContext()Returns a reference to theServletContextin which the caller is executing.ServletContextServletContextEvent. getServletContext()Return the ServletContext that changed.default ServletContextServletRequest. getServletContext()Gets the servlet context to which this ServletRequest was last dispatched.ServletContextServletRequestEvent. getServletContext()Returns the ServletContext of this web application.ServletContextServletRequestWrapper. getServletContext()Gets the servlet context to which the wrapped servlet request was last dispatched.Methods in javax.servlet with parameters of type ServletContext Modifier and Type Method Description voidAsyncContext. dispatch(ServletContext context, String path)Dispatches the request and response objects of this AsyncContext to the given path scoped to the given context.voidServletContainerInitializer. onStartup(Set<Class<?>> c, ServletContext ctx)Notifies this ServletContainerInitializer of the startup of the application represented by the given ServletContext.Constructors in javax.servlet with parameters of type ServletContext Constructor Description ServletContextAttributeEvent(ServletContext source, String name, Object value)Constructs a ServletContextAttributeEvent from the given ServletContext, attribute name, and attribute value.ServletContextEvent(ServletContext source)Construct a ServletContextEvent from the given context.ServletRequestAttributeEvent(ServletContext sc, ServletRequest request, String name, Object value)Construct a ServletRequestAttributeEvent giving the servlet context of this web application, the ServletRequest whose attributes are changing and the name and value of the attribute.ServletRequestEvent(ServletContext sc, ServletRequest request)Construct a ServletRequestEvent for the given ServletContext and ServletRequest. -
Uses of ServletContext in javax.servlet.http
Methods in javax.servlet.http that return ServletContext Modifier and Type Method Description ServletContextHttpSession. getServletContext()Returns the ServletContext to which this session belongs.
-