Uses of Interface
jakarta.servlet.ServletRequest
Packages that use ServletRequest
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 ServletRequest in io.undertow.servlet
Methods in io.undertow.servlet with parameters of type ServletRequestModifier and TypeMethodDescriptionfinal IllegalArgumentExceptionUndertowServletMessages_$bundle.invalidRequestResponseType(ServletRequest request, ServletResponse response) UndertowServletMessages.invalidRequestResponseType(ServletRequest request, ServletResponse response) final IllegalArgumentExceptionUndertowServletMessages_$bundle.requestWasNotOriginalOrWrapper(ServletRequest request) UndertowServletMessages.requestWasNotOriginalOrWrapper(ServletRequest request) -
Uses of ServletRequest in io.undertow.servlet.api
Methods in io.undertow.servlet.api with parameters of type ServletRequestModifier and TypeMethodDescriptionbooleanExceptionHandler.handleThrowable(HttpServerExchange exchange, ServletRequest request, ServletResponse response, Throwable throwable) Handles an exception.booleanLoggingExceptionHandler.handleThrowable(HttpServerExchange exchange, ServletRequest request, ServletResponse response, Throwable t) -
Uses of ServletRequest in io.undertow.servlet.core
Methods in io.undertow.servlet.core with parameters of type ServletRequestModifier and TypeMethodDescriptionvoidManagedFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain chain) voidApplicationListeners.requestDestroyed(ServletRequest request) voidApplicationListeners.requestInitialized(ServletRequest request) -
Uses of ServletRequest in io.undertow.servlet.handlers
Methods in io.undertow.servlet.handlers that return ServletRequestMethods in io.undertow.servlet.handlers with parameters of type ServletRequestModifier and TypeMethodDescriptionvoidServletRequestContext.setServletRequest(ServletRequest servletRequest) -
Uses of ServletRequest in io.undertow.servlet.spec
Classes in io.undertow.servlet.spec that implement ServletRequestModifier and TypeClassDescriptionfinal classThe http servlet request implementation.Methods in io.undertow.servlet.spec that return ServletRequestMethods in io.undertow.servlet.spec with parameters of type ServletRequestModifier and TypeMethodDescriptionvoidAsyncContextImpl.addListener(AsyncListener listener, ServletRequest servletRequest, ServletResponse servletResponse) voidRequestDispatcherImpl.error(ServletRequestContext servletRequestContext, ServletRequest request, ServletResponse response, String servletName) voidRequestDispatcherImpl.error(ServletRequestContext servletRequestContext, ServletRequest request, ServletResponse response, String servletName, String message) voidRequestDispatcherImpl.error(ServletRequestContext servletRequestContext, ServletRequest request, ServletResponse response, String servletName, Throwable exception) voidRequestDispatcherImpl.forward(ServletRequest request, ServletResponse response) voidRequestDispatcherImpl.include(ServletRequest request, ServletResponse response) voidRequestDispatcherImpl.mock(ServletRequest request, ServletResponse response) HttpServletRequestImpl.startAsync(ServletRequest servletRequest, ServletResponse servletResponse) Constructors in io.undertow.servlet.spec with parameters of type ServletRequestModifierConstructorDescriptionAsyncContextImpl(HttpServerExchange exchange, ServletRequest servletRequest, ServletResponse servletResponse, ServletRequestContext servletRequestContext, boolean requestSupplied, AsyncContextImpl previousAsyncContext) -
Uses of ServletRequest in jakarta.servlet
Classes in jakarta.servlet that implement ServletRequestModifier and TypeClassDescriptionclassProvides a convenient implementation of the ServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.Methods in jakarta.servlet that return ServletRequestModifier and TypeMethodDescriptionAsyncContext.getRequest()Gets the request that was used to initialize this AsyncContext by callingstartAsync()orstartAsync(ServletRequest, ServletResponse).ServletRequestWrapper.getRequest()Return the wrapped request object.ServletRequestEvent.getServletRequest()Returns the ServletRequest that is changing.AsyncEvent.getSuppliedRequest()Gets the ServletRequest from this AsyncEvent.Methods in jakarta.servlet with parameters of type ServletRequestModifier and TypeMethodDescriptionvoidAsyncContext.addListener(AsyncListener listener, ServletRequest servletRequest, ServletResponse servletResponse) Registers the givenAsyncListenerwith the most recent asynchronous cycle that was started by a call to one of thestartAsync()methods.voidFilter.doFilter(ServletRequest request, ServletResponse response, FilterChain chain) ThedoFiltermethod of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.voidFilterChain.doFilter(ServletRequest request, ServletResponse response) Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked.voidRequestDispatcher.forward(ServletRequest request, ServletResponse response) Forwards a request from a servlet to another resource (servlet, JSP file, or HTML file) on the server.voidRequestDispatcher.include(ServletRequest request, ServletResponse response) Includes the content of a resource (servlet, JSP page, HTML file) in the response.booleanServletRequestWrapper.isWrapperFor(ServletRequest wrapped) Checks (recursively) if this ServletRequestWrapper wraps the givenServletRequestinstance.abstract voidGenericServlet.service(ServletRequest req, ServletResponse res) Called by the servlet container to allow the servlet to respond to a request.voidServlet.service(ServletRequest req, ServletResponse res) Called by the servlet container to allow the servlet to respond to a request.voidServletRequestWrapper.setRequest(ServletRequest request) Sets the request object being wrapped.ServletRequest.startAsync(ServletRequest servletRequest, ServletResponse servletResponse) Puts this request into asynchronous mode, and initializes itsAsyncContextwith the given request and response objects.ServletRequestWrapper.startAsync(ServletRequest servletRequest, ServletResponse servletResponse) The default behavior of this method is to invokestartAsync(ServletRequest, ServletResponse)on the wrapped request object.Constructors in jakarta.servlet with parameters of type ServletRequestModifierConstructorDescriptionAsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response) Constructs an AsyncEvent from the given AsyncContext, ServletRequest, and ServletResponse.AsyncEvent(AsyncContext context, ServletRequest request, ServletResponse response, Throwable throwable) Constructs an AsyncEvent from the given AsyncContext, ServletRequest, ServletResponse, and Throwable.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.ServletRequestWrapper(ServletRequest request) Creates a ServletRequest adaptor wrapping the given request object. -
Uses of ServletRequest in jakarta.servlet.http
Subinterfaces of ServletRequest in jakarta.servlet.httpModifier and TypeInterfaceDescriptioninterfaceExtends theServletRequestinterface to provide request information for HTTP servlets.Classes in jakarta.servlet.http that implement ServletRequestModifier and TypeClassDescriptionclassProvides a convenient implementation of the HttpServletRequest interface that can be subclassed by developers wishing to adapt the request to a Servlet.Methods in jakarta.servlet.http with parameters of type ServletRequestModifier and TypeMethodDescriptionvoidHttpFilter.doFilter(ServletRequest req, ServletResponse res, FilterChain chain) ThedoFiltermethod of the Filter is called by the container each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.voidHttpServlet.service(ServletRequest req, ServletResponse res) Dispatches client requests to the protectedservicemethod. -
Uses of ServletRequest in jakarta.servlet.jsp
Methods in jakarta.servlet.jsp that return ServletRequestModifier and TypeMethodDescriptionabstract ServletRequestPageContext.getRequest()The current value of the request object (a ServletRequest).Methods in jakarta.servlet.jsp with parameters of type ServletRequestModifier and TypeMethodDescriptionabstract PageContextJspFactory.getPageContext(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int buffer, boolean autoflush) obtains an instance of an implementation dependent jakarta.servlet.jsp.PageContext abstract class for the calling Servlet and currently pending request and response.abstract voidPageContext.initialize(Servlet servlet, ServletRequest request, ServletResponse response, String errorPageURL, boolean needsSession, int bufferSize, boolean autoFlush) The initialize method is called to initialize an uninitialized PageContext so that it may be used by a JSP Implementation class to service an incoming request and response within it's _jspService() method. -
Uses of ServletRequest in jakarta.servlet.jsp.jstl.core
Methods in jakarta.servlet.jsp.jstl.core with parameters of type ServletRequestModifier and TypeMethodDescriptionstatic ObjectConfig.get(ServletRequest request, String name) Looks up a configuration variable in the "request" scope.static voidConfig.remove(ServletRequest request, String name) Removes a configuration variable from the "request" scope.static voidConfig.set(ServletRequest request, String name, Object value) Sets the value of a configuration variable in the "request" scope. -
Uses of ServletRequest in org.jboss.resteasy.plugins.server.servlet
Methods in org.jboss.resteasy.plugins.server.servlet with parameters of type ServletRequestModifier and TypeMethodDescriptionvoidFilterDispatcher.doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain)