Uses of Interface
org.apache.sling.api.SlingHttpServletRequest
-
Packages that use SlingHttpServletRequest Package Description org.apache.sling.api.request org.apache.sling.api.scripting org.apache.sling.api.servlets org.apache.sling.api.wrappers -
-
Uses of SlingHttpServletRequest in org.apache.sling.api.request
Methods in org.apache.sling.api.request with parameters of type SlingHttpServletRequest Modifier and Type Method Description static booleanRequestUtil. handleIfModifiedSince(@NotNull SlingHttpServletRequest req, @NotNull javax.servlet.http.HttpServletResponse resp)Checks if the request contains a if-last-modified-since header and if the the request's underlying resource has a jcr:lastModified property. -
Uses of SlingHttpServletRequest in org.apache.sling.api.scripting
Methods in org.apache.sling.api.scripting that return SlingHttpServletRequest Modifier and Type Method Description @Nullable SlingHttpServletRequestSlingBindings. getRequest()@NotNull SlingHttpServletRequestSlingScriptHelper. getRequest()Returns theSlingHttpServletRequestrepresenting the input of the request.Methods in org.apache.sling.api.scripting with parameters of type SlingHttpServletRequest Modifier and Type Method Description voidSlingBindings. setRequest(SlingHttpServletRequest request) -
Uses of SlingHttpServletRequest in org.apache.sling.api.servlets
Methods in org.apache.sling.api.servlets with parameters of type SlingHttpServletRequest Modifier and Type Method Description booleanOptingServlet. accepts(@NotNull SlingHttpServletRequest request)Examines the request, and returntrueif this servlet is willing to handle the request.protected voidSlingAllMethodsServlet. doDelete(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response)Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP DELETE request.protected voidSlingSafeMethodsServlet. doGeneric(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response)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)Called by theSlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP GET request.protected voidSlingSafeMethodsServlet. doHead(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response)Handles the HEAD method.protected voidSlingSafeMethodsServlet. doOptions(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response)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)Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP POST request.protected voidSlingAllMethodsServlet. doPut(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response)Called by theSlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse)method to handle an HTTP PUT request.protected voidSlingSafeMethodsServlet. doTrace(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response)Handles the TRACE method by just returning the list of all header values in the response body.protected voidSlingSafeMethodsServlet. handleMethodNotImplemented(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response)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)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)Tries to handle the request by calling a Java method implemented for the respective HTTP request method.@Nullable javax.servlet.ServletServletResolver. resolveServlet(@NotNull SlingHttpServletRequest request)Resolves ajavax.servlet.Servletwhoseservicemethod may be used to handle the givenrequest.protected voidSlingSafeMethodsServlet. service(@NotNull SlingHttpServletRequest request, @NotNull SlingHttpServletResponse response)Called by theSlingSafeMethodsServlet.service(ServletRequest, ServletResponse)method to handle the HTTP request. -
Uses of SlingHttpServletRequest in org.apache.sling.api.wrappers
Classes in org.apache.sling.api.wrappers that implement SlingHttpServletRequest Modifier and Type Class Description classSlingHttpServletRequestWrapperTheSlingHttpServletRequestWrapperclass is a default wrapper class around aSlingHttpServletRequestwhich may be extended to amend the functionality of the original request object.Methods in org.apache.sling.api.wrappers that return SlingHttpServletRequest Modifier and Type Method Description SlingHttpServletRequestSlingHttpServletRequestWrapper. getSlingRequest()Return the originalSlingHttpServletRequestobject wrapped by this.Constructors in org.apache.sling.api.wrappers with parameters of type SlingHttpServletRequest Constructor Description SlingHttpServletRequestWrapper(SlingHttpServletRequest wrappedRequest)Create a wrapper for the supplied wrappedRequest
-