Uses of Interface
org.apache.sling.api.SlingHttpServletRequest
Packages that use SlingHttpServletRequest
Package
Description
Request parameters, path information, dispatching, events, and HTTP utilities.
Builders for Sling requests and responses.
Script execution contracts, bindings, and scripting helpers.
Base servlets and constants for Sling servlet registration and HTTP handling.
APIs for parsing, building, and manipulating Sling URIs.
This package provides wrapper classes for the Javax based Servlet API and the Jakarta Servlet API to wrap entities from one API to the other API.
-
Uses of SlingHttpServletRequest in org.apache.sling.api.request
Methods in org.apache.sling.api.request with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionstatic booleanRequestUtil.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 SlingHttpServletRequestBuilderSlingHttpServletRequestBuilder.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 SlingHttpServletRequestSlingBindings.getRequest()Deprecated.UseSlingBindings.getJakartaRequest()instead.@NotNull SlingHttpServletRequestSlingScriptHelper.getRequest()Deprecated.UseSlingScriptHelper.getJakartaRequest()instead.Methods in org.apache.sling.api.scripting with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionvoidSlingBindings.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 TypeMethodDescriptionbooleanOptingServlet.accepts(@NotNull SlingHttpServletRequest request) Deprecated.Examines the request, and returntrueif this servlet is willing to handle the request.protected voidSlingAllMethodsServlet.doDelete(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP DELETE request.protected voidSlingSafeMethodsServlet.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 voidSlingSafeMethodsServlet.doGet(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP GET request.protected voidSlingSafeMethodsServlet.doHead(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Handles the HEAD method.protected voidSlingSafeMethodsServlet.doOptions(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Handles the OPTIONS method by setting the HTTPAllowheader on the response depending on the methods declared in this class.protected voidSlingAllMethodsServlet.doPost(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP POST request.protected voidSlingAllMethodsServlet.doPut(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response) Deprecated.Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP PUT request.protected voidSlingSafeMethodsServlet.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.voidErrorHandler.handleError(int status, String message, SlingHttpServletRequest request, SlingHttpServletResponse response) Deprecated.Called to render a response for a HTTP status code.voidErrorHandler.handleError(Throwable throwable, SlingHttpServletRequest request, SlingHttpServletResponse response) Deprecated.Called to render a response for an uncaughtThrowable.protected voidSlingSafeMethodsServlet.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 booleanSlingAllMethodsServlet.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 booleanSlingSafeMethodsServlet.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.ServletServletResolver.resolveServlet(SlingHttpServletRequest request) Deprecated.protected voidSlingSafeMethodsServlet.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 SlingUriBuilderSlingUriBuilder.createFrom(SlingHttpServletRequest request) Deprecated. -
Uses of SlingHttpServletRequest in org.apache.sling.api.wrappers
Classes in org.apache.sling.api.wrappers that implement SlingHttpServletRequestModifier and TypeClassDescriptionclassWrapper forSlingJakartaHttpServletRequestto adapt it to the Javax Servlet API.classDeprecated.Methods in org.apache.sling.api.wrappers that return SlingHttpServletRequestModifier and TypeMethodDescriptionSlingHttpServletRequestWrapper.getSlingRequest()Deprecated.Return the originalSlingHttpServletRequestobject wrapped by this.JavaxToJakartaRequestWrapper.getWrappedObject()Get the wrappedSlingHttpServletRequestobjectstatic @Nullable SlingHttpServletRequestJakartaToJavaxRequestWrapper.toJavaxRequest(@Nullable SlingJakartaHttpServletRequest request) Create a new wrapperMethods in org.apache.sling.api.wrappers with parameters of type SlingHttpServletRequestModifier and TypeMethodDescriptionbooleanJakartaToJavaxServletWrapper.JakartaToJavaxOptingServletWrapper.accepts(@NotNull SlingHttpServletRequest request) static @Nullable SlingJakartaHttpServletRequestJavaxToJakartaRequestWrapper.toJakartaRequest(@Nullable SlingHttpServletRequest request) Create a new wrapperConstructors in org.apache.sling.api.wrappers with parameters of type SlingHttpServletRequestModifierConstructorDescriptionJavaxToJakartaRequestWrapper(SlingHttpServletRequest wrappedRequest) Wraps a Javax Sling request as a Jakarta Sling request.SlingHttpServletRequestWrapper(SlingHttpServletRequest wrappedRequest) Deprecated.Create a wrapper for the supplied wrappedRequest
RequestUtil.handleIfModifiedSince(SlingJakartaHttpServletRequest, HttpServletResponse)instead.