Uses of Interface
jakarta.servlet.ServletContext
Packages that use ServletContext
Package
Description
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
The jakarta.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.
-
Uses of ServletContext in io.undertow.servlet
Methods in io.undertow.servlet with parameters of type ServletContextModifier and TypeMethodDescriptionvoidServletExtension.handleDeployment(DeploymentInfo deploymentInfo, ServletContext servletContext) -
Uses of ServletContext in io.undertow.servlet.core
Constructors in io.undertow.servlet.core with parameters of type ServletContextModifierConstructorDescriptionApplicationListeners(List<ManagedListener> allListeners, ServletContext servletContext) SessionListenerBridge(Deployment deployment, ApplicationListeners applicationListeners, ServletContext servletContext) -
Uses of ServletContext in io.undertow.servlet.spec
Classes in io.undertow.servlet.spec that implement ServletContextMethods in io.undertow.servlet.spec that return ServletContextModifier and TypeMethodDescriptionServletContextImpl.getContext(String uripath) FilterConfigImpl.getServletContext()HttpSessionImpl.getServletContext()ServletConfigImpl.getServletContext()Methods in io.undertow.servlet.spec with parameters of type ServletContextModifier and TypeMethodDescriptionvoidAsyncContextImpl.dispatch(ServletContext context, String path) static HttpSessionImplHttpSessionImpl.forSession(Session session, ServletContext servletContext, boolean newSession) Constructors in io.undertow.servlet.spec with parameters of type ServletContextModifierConstructorDescriptionFilterConfigImpl(FilterInfo filterInfo, ServletContext servletContext) ServletConfigImpl(ServletInfo servletInfo, ServletContext servletContext) -
Uses of ServletContext in io.undertow.servlet.sse
Methods in io.undertow.servlet.sse with parameters of type ServletContextModifier and TypeMethodDescriptionvoidServerSentEventSCI.onStartup(Set<Class<?>> c, ServletContext ctx) -
Uses of ServletContext in jakarta.servlet
Methods in jakarta.servlet that return ServletContextModifier and TypeMethodDescriptionServletContext.getContext(String uripath) Returns aServletContextobject that corresponds to a specified URL on the server.FilterConfig.getServletContext()Returns a reference to theServletContextin which the caller is executing.GenericFilter.getServletContext()Returns a reference to theServletContextin which this filter is running.GenericServlet.getServletContext()Returns a reference to theServletContextin which this servlet is running.ServletConfig.getServletContext()Returns a reference to theServletContextin which the caller is executing.ServletContextEvent.getServletContext()Return the ServletContext that changed.ServletRequest.getServletContext()Gets the servlet context to which this ServletRequest was last dispatched.ServletRequestEvent.getServletContext()Returns the ServletContext of this web application.ServletRequestWrapper.getServletContext()Gets the servlet context to which the wrapped servlet request was last dispatched.Methods in jakarta.servlet with parameters of type ServletContextModifier and TypeMethodDescriptionvoidAsyncContext.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 jakarta.servlet with parameters of type ServletContextModifierConstructorDescriptionServletContextAttributeEvent(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 jakarta.servlet.http
Methods in jakarta.servlet.http that return ServletContextModifier and TypeMethodDescriptionHttpSession.getServletContext()Returns the ServletContext to which this session belongs. -
Uses of ServletContext in jakarta.servlet.jsp
Methods in jakarta.servlet.jsp that return ServletContextModifier and TypeMethodDescriptionabstract ServletContextPageContext.getServletContext()The ServletContext instance.Methods in jakarta.servlet.jsp with parameters of type ServletContextModifier and TypeMethodDescriptionabstract JspApplicationContextJspFactory.getJspApplicationContext(ServletContext context) Obtains theJspApplicationContextinstance associated with the web application for the givenServletContext. -
Uses of ServletContext in jakarta.servlet.jsp.jstl.core
Methods in jakarta.servlet.jsp.jstl.core with parameters of type ServletContextModifier and TypeMethodDescriptionstatic ObjectConfig.get(ServletContext context, String name) Looks up a configuration variable in the "application" scope.static voidConfig.remove(ServletContext context, String name) Removes a configuration variable from the "application" scope.static voidConfig.set(ServletContext context, String name, Object value) Sets the value of a configuration variable in the "application" scope. -
Uses of ServletContext in org.jboss.resteasy.plugins.server.servlet
Fields in org.jboss.resteasy.plugins.server.servlet declared as ServletContextModifier and TypeFieldDescriptionprotected ServletContextFilterDispatcher.servletContextprotected ServletContextHttpServletInputMessage.servletContextprotected ServletContextListenerBootstrap.servletContextMethods in org.jboss.resteasy.plugins.server.servlet with parameters of type ServletContextModifier and TypeMethodDescriptionstatic URL[]ListenerBootstrap.findWebInfLibClasspaths(ServletContext servletContext) voidServletContainerDispatcher.init(ServletContext servletContext, ConfigurationBootstrap bootstrap, HttpRequestFactory requestFactory, HttpResponseFactory responseFactory) Constructors in org.jboss.resteasy.plugins.server.servlet with parameters of type ServletContextModifierConstructorDescriptionHttpServletInputMessage(HttpServletRequest request, HttpServletResponse servletResponse, ServletContext servletContext, HttpResponse httpResponse, ResteasyHttpHeaders httpHeaders, ResteasyUriInfo uri, String httpMethod, SynchronousDispatcher dispatcher) ListenerBootstrap(ServletContext servletContext) Servlet3AsyncHttpRequest(HttpServletRequest httpServletRequest, HttpServletResponse response, ServletContext servletContext, HttpResponse httpResponse, ResteasyHttpHeaders httpHeaders, ResteasyUriInfo uriInfo, String s, SynchronousDispatcher synchronousDispatcher)