Uses of Interface
jakarta.servlet.http.HttpServletRequest
-
Packages that use HttpServletRequest Package Description jakarta.security.enterprise The main Jakarta Security package.jakarta.security.enterprise.authentication.mechanism.http The HTTP authentication mechanism API package.jakarta.security.enterprise.identitystore.openid jakarta.security.jacc This package contains the Jakarta Authorization APIjakarta.servlet.http 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.jakarta.servlet.jsp -
-
Uses of HttpServletRequest in jakarta.security.enterprise
Methods in jakarta.security.enterprise with parameters of type HttpServletRequest Modifier and Type Method Description AuthenticationStatus
SecurityContext. authenticate(HttpServletRequest request, HttpServletResponse response, AuthenticationParameters parameters)
Signal to the container (programmatically trigger) that it should start or continue a web/HTTP based authentication dialog with the caller. -
Uses of HttpServletRequest in jakarta.security.enterprise.authentication.mechanism.http
Methods in jakarta.security.enterprise.authentication.mechanism.http that return HttpServletRequest Modifier and Type Method Description HttpServletRequest
HttpMessageContext. getRequest()
Returns the request object associated with the current request.HttpServletRequest
HttpMessageContextWrapper. getRequest()
Methods in jakarta.security.enterprise.authentication.mechanism.http with parameters of type HttpServletRequest Modifier and Type Method Description default void
HttpAuthenticationMechanism. cleanSubject(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext)
Remove mechanism specific principals and credentials from the subject and any other state the mechanism might have used.void
HttpAuthenticationMechanismWrapper. cleanSubject(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext)
default AuthenticationStatus
HttpAuthenticationMechanism. secureResponse(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext)
Secure the response, optionally.AuthenticationStatus
HttpAuthenticationMechanismWrapper. secureResponse(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext)
void
HttpMessageContext. setRequest(HttpServletRequest request)
Sets the request object.void
HttpMessageContextWrapper. setRequest(HttpServletRequest request)
AuthenticationStatus
HttpAuthenticationMechanism. validateRequest(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext)
Authenticate an HTTP request.AuthenticationStatus
HttpAuthenticationMechanismWrapper. validateRequest(HttpServletRequest request, HttpServletResponse response, HttpMessageContext httpMessageContext)
HttpMessageContext
HttpMessageContext. withRequest(HttpServletRequest request)
Sets the request object.HttpMessageContext
HttpMessageContextWrapper. withRequest(HttpServletRequest request)
-
Uses of HttpServletRequest in jakarta.security.enterprise.identitystore.openid
Methods in jakarta.security.enterprise.identitystore.openid with parameters of type HttpServletRequest Modifier and Type Method Description <T> Optional<T>
OpenIdContext. getStoredValue(HttpServletRequest request, HttpServletResponse response, String key)
Retrieves the Stored value from Storage Controller. -
Uses of HttpServletRequest in jakarta.security.jacc
Constructors in jakarta.security.jacc with parameters of type HttpServletRequest Constructor Description WebResourcePermission(HttpServletRequest request)
Creates a new WebResourcePermission from the HttpServletRequest object.WebUserDataPermission(HttpServletRequest request)
Creates a new WebUserDataPermission from the HttpServletRequest object. -
Uses of HttpServletRequest in jakarta.servlet.http
Classes in jakarta.servlet.http that implement HttpServletRequest Modifier and Type Class Description class
HttpServletRequestWrapper
Provides 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 HttpServletRequest Modifier and Type Method Description protected void
HttpServlet. doDelete(HttpServletRequest req, HttpServletResponse resp)
Called by the server (via theservice
method) to allow a servlet to handle a DELETE request.protected void
HttpFilter. doFilter(HttpServletRequest req, HttpServletResponse res, FilterChain chain)
ThedoFilter
method 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.protected void
HttpServlet. doGet(HttpServletRequest req, HttpServletResponse resp)
Called by the server (via theservice
method) to allow a servlet to handle a GET request.protected void
HttpServlet. doHead(HttpServletRequest req, HttpServletResponse resp)
Receives an HTTP HEAD request from the protectedservice
method and handles the request.protected void
HttpServlet. doOptions(HttpServletRequest req, HttpServletResponse resp)
Called by the server (via theservice
method) to allow a servlet to handle a OPTIONS request.protected void
HttpServlet. doPost(HttpServletRequest req, HttpServletResponse resp)
Called by the server (via theservice
method) to allow a servlet to handle a POST request.protected void
HttpServlet. doPut(HttpServletRequest req, HttpServletResponse resp)
Called by the server (via theservice
method) to allow a servlet to handle a PUT request.protected void
HttpServlet. doTrace(HttpServletRequest req, HttpServletResponse resp)
Called by the server (via theservice
method) to allow a servlet to handle a TRACE request.protected long
HttpServlet. getLastModified(HttpServletRequest req)
Returns the time theHttpServletRequest
object was last modified, in milliseconds since midnight January 1, 1970 GMT.protected void
HttpServlet. service(HttpServletRequest req, HttpServletResponse resp)
Receives standard HTTP requests from the publicservice
method and dispatches them to thedo
XXX methods defined in this class.Constructors in jakarta.servlet.http with parameters of type HttpServletRequest Constructor Description HttpServletRequestWrapper(HttpServletRequest request)
Constructs a request object wrapping the given request. -
Uses of HttpServletRequest in jakarta.servlet.jsp
Methods in jakarta.servlet.jsp with parameters of type HttpServletRequest Modifier and Type Method Description void
HttpJspPage. _jspService(HttpServletRequest request, HttpServletResponse response)
The _jspService()method corresponds to the body of the JSP page.
-