Uses of Class
org.apache.sling.servlethelpers.internalrequests.BaseInternalRequest
Packages that use BaseInternalRequest
Package
Description
Helpers for internal Sling requests
-
Uses of BaseInternalRequest in org.apache.sling.servlethelpers.internalrequests
Subclasses of BaseInternalRequest in org.apache.sling.servlethelpers.internalrequestsModifier and TypeClassDescriptionclassDeprecated.classFluent helper for Sling internal requests.classInternal request that a Servlet or Script directly, after resolving it using a ServletResolver.classInternal request that uses a SlingRequestProcessor.classDeprecated.UseJakartaServletInternalRequestinstead.classDeprecated.UseJakartaInternalRequestinstead.Methods in org.apache.sling.servlethelpers.internalrequests that return BaseInternalRequestModifier and TypeMethodDescriptionabstract BaseInternalRequestBaseInternalRequest.checkResponseContentType(String contentType) After executing the request, checks that the response content-type is as expected.BaseInternalRequest.checkStatus(int... acceptableValues) After executing the request, checks that the request status is one of the supplied values.abstract BaseInternalRequestBaseInternalRequest.execute()Use the supplied Reader as the request's body contentBaseInternalRequest.withContentType(String contentType) Set the HTTP request's Content-TypeBaseInternalRequest.withExtension(String extension) Sets the optional extension of the internal request, which influence the Servlet/Script resolution.BaseInternalRequest.withParameter(String key, Object value) Set a request parameterBaseInternalRequest.withParameters(Map<String, Object> additionalParameters) Add the supplied request parameters to the current onesBaseInternalRequest.withRequestMethod(String method) Set the HTTP request method to use - defaults to GETBaseInternalRequest.withSelectors(String... selectors) Sets the optional selectors of the internal request, which influence the Servlet/Script resolution.
JakartaInternalRequestinstead.