Uses of Interface
org.apache.sling.api.SlingHttpServletRequest
Packages that use SlingHttpServletRequest
Package
Description
-
Uses of SlingHttpServletRequest in org.apache.sling.api.request
Methods in org.apache.sling.api.request with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionstatic boolean
RequestUtil.handleIfModifiedSince
(SlingHttpServletRequest req, javax.servlet.http.HttpServletResponse resp) Deprecated. -
Uses of SlingHttpServletRequest in org.apache.sling.api.request.builder
Methods in org.apache.sling.api.request.builder that return SlingHttpServletRequestMethods in org.apache.sling.api.request.builder with parameters of type SlingHttpServletRequestModifier and TypeMethodDescription@NotNull SlingHttpServletRequestBuilder
SlingHttpServletRequestBuilder.useRequestDispatcherFrom
(SlingHttpServletRequest request) Deprecated. -
Uses of SlingHttpServletRequest in org.apache.sling.api.scripting
Methods in org.apache.sling.api.scripting that return SlingHttpServletRequestModifier and TypeMethodDescription@Nullable SlingHttpServletRequest
SlingBindings.getRequest()
Deprecated.UseSlingBindings.getJakartaRequest()
instead.@NotNull SlingHttpServletRequest
SlingScriptHelper.getRequest()
Deprecated.UseSlingScriptHelper.getJakartaRequest()
instead.Methods in org.apache.sling.api.scripting with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionvoid
SlingBindings.setRequest
(SlingHttpServletRequest request) Deprecated. -
Uses of SlingHttpServletRequest in org.apache.sling.api.servlets
Methods in org.apache.sling.api.servlets with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionboolean
OptingServlet.accepts
(@NotNull SlingHttpServletRequest request) Deprecated.Examines the request, and returntrue
if this servlet is willing to handle the request.protected void
SlingAllMethodsServlet.doDelete
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP DELETE request.protected void
SlingSafeMethodsServlet.doGeneric
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingSafeMethodsServlet.service(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle a request for an HTTP method, which is not known and handled by this class or its extension.protected void
SlingSafeMethodsServlet.doGet
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP GET request.protected void
SlingSafeMethodsServlet.doHead
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Handles the HEAD method.protected void
SlingSafeMethodsServlet.doOptions
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Handles the OPTIONS method by setting the HTTPAllow
header on the response depending on the methods declared in this class.protected void
SlingAllMethodsServlet.doPost
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP POST request.protected void
SlingAllMethodsServlet.doPut
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)
method to handle an HTTP PUT request.protected void
SlingSafeMethodsServlet.doTrace
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Handles the TRACE method by just returning the list of all header values in the response body.void
ErrorHandler.handleError
(int status, String message, SlingHttpServletRequest request, SlingHttpServletResponse response) Deprecated.Called to render a response for a HTTP status code.void
ErrorHandler.handleError
(Throwable throwable, SlingHttpServletRequest request, SlingHttpServletResponse response) Deprecated.Called to render a response for an uncaughtThrowable
.protected void
SlingSafeMethodsServlet.handleMethodNotImplemented
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Helper method which causes an appropriate HTTP response to be sent for an unhandled HTTP request method.protected boolean
SlingAllMethodsServlet.mayService
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Tries to handle the request by calling a Java method implemented for the respective HTTP request method.protected boolean
SlingSafeMethodsServlet.mayService
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Tries to handle the request by calling a Java method implemented for the respective HTTP request method.javax.servlet.Servlet
ServletResolver.resolveServlet
(SlingHttpServletRequest request) Deprecated.protected void
SlingSafeMethodsServlet.service
(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingSafeMethodsServlet.service(ServletRequest, ServletResponse)
method to handle the HTTP request. -
Uses of SlingHttpServletRequest in org.apache.sling.api.uri
Methods in org.apache.sling.api.uri with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionstatic @NotNull SlingUriBuilder
SlingUriBuilder.createFrom
(SlingHttpServletRequest request) Deprecated. -
Uses of SlingHttpServletRequest in org.apache.sling.api.wrappers
Classes in org.apache.sling.api.wrappers that implement SlingHttpServletRequestModifier and TypeClassDescriptionclass
Wrapper forSlingJakartaHttpServletRequest
to adapt it to the Javax Servlet API.class
Deprecated.Methods in org.apache.sling.api.wrappers that return SlingHttpServletRequestModifier and TypeMethodDescriptionSlingHttpServletRequestWrapper.getSlingRequest()
Deprecated.Return the originalSlingHttpServletRequest
object wrapped by this.static SlingHttpServletRequest
JakartaToJavaxRequestWrapper.toJavaxRequest
(SlingJakartaHttpServletRequest request) Methods in org.apache.sling.api.wrappers with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionboolean
JakartaToJavaxServletWrapper.JakartaToJavaxOptingServletWrapper.accepts
(@NotNull SlingHttpServletRequest request) JavaxToJakartaRequestWrapper.toJakartaRequest
(SlingHttpServletRequest request) Constructors in org.apache.sling.api.wrappers with parameters of type SlingHttpServletRequestModifierConstructorDescriptionJavaxToJakartaRequestWrapper
(SlingHttpServletRequest wrappedRequest) SlingHttpServletRequestWrapper
(SlingHttpServletRequest wrappedRequest) Deprecated.Create a wrapper for the supplied wrappedRequest
RequestUtil.handleIfModifiedSince(SlingJakartaHttpServletRequest, HttpServletResponse)
instead.