# Uses of Class
org.apache.sling.servlethelpers.internalrequests.BaseInternalRequest

Packages that use BaseInternalRequest
Package
Description
org.apache.sling.servlethelpers.internalrequests
Helpers for internal Sling requests

## Uses of BaseInternalRequest in org.apache.sling.servlethelpers.internalrequests

Subclasses of BaseInternalRequest in org.apache.sling.servlethelpers.internalrequests
Modifier and Type
Class
Description
`class`
`InternalRequest`
Deprecated.
Use `JakartaInternalRequest` instead.
`class`
`JakartaInternalRequest`
Fluent helper for Sling internal requests.
`class`
`JakartaServletInternalRequest`
Internal request that a Servlet or Script directly, after resolving it using a ServletResolver.
`class`
`JakartaSlingInternalRequest`
Internal request that uses a SlingRequestProcessor.
`class`
`ServletInternalRequest`
Deprecated.
Use `JakartaServletInternalRequest` instead.
`class`
`SlingInternalRequest`
Deprecated.
Use `JakartaInternalRequest` instead.
Methods in org.apache.sling.servlethelpers.internalrequests that return BaseInternalRequest
Modifier and Type
Method
Description
`abstract BaseInternalRequest`
BaseInternalRequest.`checkResponseContentType(String contentType)`
After executing the request, checks that the response content-type is as expected.
`BaseInternalRequest`
BaseInternalRequest.`checkStatus(int... acceptableValues)`
After executing the request, checks that the request status is one of the supplied values.
`abstract BaseInternalRequest`
BaseInternalRequest.`execute()`
`BaseInternalRequest`
BaseInternalRequest.`withBody(Reader bodyContent)`
Use the supplied Reader as the request's body content
`BaseInternalRequest`
BaseInternalRequest.`withContentType(String contentType)`
Set the HTTP request's Content-Type
`BaseInternalRequest`
BaseInternalRequest.`withExtension(String extension)`
Sets the optional extension of the internal request, which influence the Servlet/Script resolution.
`BaseInternalRequest`
BaseInternalRequest.`withParameter(String key, Object value)`
Set a request parameter
`BaseInternalRequest`
BaseInternalRequest.`withParameters(Map<String,Object> additionalParameters)`
Add the supplied request parameters to the current ones
`BaseInternalRequest`
BaseInternalRequest.`withRequestMethod(String method)`
Set the HTTP request method to use - defaults to GET
`BaseInternalRequest`
BaseInternalRequest.`withSelectors(String... selectors)`
Sets the optional selectors of the internal request, which influence the Servlet/Script resolution.