# Uses of Class
org.apache.sling.api.request.RequestDispatcherOptions

Packages that use RequestDispatcherOptions
Package
Description
org.apache.sling.api
org.apache.sling.api.scripting
org.apache.sling.api.wrappers

## Uses of RequestDispatcherOptions in org.apache.sling.api

Methods in org.apache.sling.api with parameters of type RequestDispatcherOptions
Modifier and Type
Method
Description
`@Nullable javax.servlet.RequestDispatcher`
SlingHttpServletRequest.`getRequestDispatcher(@NotNull String path, RequestDispatcherOptions options)`
Deprecated.
Returns a `RequestDispatcher` object that acts as a wrapper for the resource located at the given path.
`@Nullable javax.servlet.RequestDispatcher`
SlingHttpServletRequest.`getRequestDispatcher(@NotNull Resource resource, RequestDispatcherOptions options)`
Deprecated.
Returns a `RequestDispatcher` object that acts as a wrapper for the resource located at the given resource.
`@Nullable jakarta.servlet.RequestDispatcher`
SlingJakartaHttpServletRequest.`getRequestDispatcher(@NotNull String path, RequestDispatcherOptions options)`
Returns a `RequestDispatcher` object that acts as a wrapper for the resource located at the given path.
`@Nullable jakarta.servlet.RequestDispatcher`
SlingJakartaHttpServletRequest.`getRequestDispatcher(@NotNull Resource resource, RequestDispatcherOptions options)`
Returns a `RequestDispatcher` object that acts as a wrapper for the resource located at the given resource.

## Uses of RequestDispatcherOptions in org.apache.sling.api.scripting

Methods in org.apache.sling.api.scripting with parameters of type RequestDispatcherOptions
Modifier and Type
Method
Description
`void`
SlingScriptHelper.`forward(@NotNull String path, RequestDispatcherOptions options)`
Helper method to forward the request to a Servlet or script for the given `path` and `options`.
`void`
SlingScriptHelper.`forward(@NotNull Resource resource, RequestDispatcherOptions options)`
Helper method to forward the request to a Servlet or script for the given `resource` and `options`.
`void`
SlingScriptHelper.`include(@NotNull String path, RequestDispatcherOptions options)`
Helper method to include the result of processing the request for the given `path` and `options`.
`void`
SlingScriptHelper.`include(@NotNull Resource resource, RequestDispatcherOptions options)`
Helper method to include the result of processing the request for the given `resource` and `options`.

## Uses of RequestDispatcherOptions in org.apache.sling.api.wrappers

Methods in org.apache.sling.api.wrappers with parameters of type RequestDispatcherOptions
Modifier and Type
Method
Description
`@Nullable javax.servlet.RequestDispatcher`
JakartaToJavaxRequestWrapper.`getRequestDispatcher(@NotNull String path, RequestDispatcherOptions options)`
`@Nullable javax.servlet.RequestDispatcher`
JakartaToJavaxRequestWrapper.`getRequestDispatcher(@NotNull Resource resource, RequestDispatcherOptions options)`
`@Nullable jakarta.servlet.RequestDispatcher`
JavaxToJakartaRequestWrapper.`getRequestDispatcher(@NotNull String path, RequestDispatcherOptions options)`
`@Nullable jakarta.servlet.RequestDispatcher`
JavaxToJakartaRequestWrapper.`getRequestDispatcher(@NotNull Resource resource, RequestDispatcherOptions options)`
`javax.servlet.RequestDispatcher`
SlingHttpServletRequestWrapper.`getRequestDispatcher(String path, RequestDispatcherOptions options)`
Deprecated.
`javax.servlet.RequestDispatcher`
SlingHttpServletRequestWrapper.`getRequestDispatcher(Resource resource, RequestDispatcherOptions options)`
Deprecated.
`jakarta.servlet.RequestDispatcher`
SlingJakartaHttpServletRequestWrapper.`getRequestDispatcher(String path, RequestDispatcherOptions options)`
`jakarta.servlet.RequestDispatcher`
SlingJakartaHttpServletRequestWrapper.`getRequestDispatcher(Resource resource, RequestDispatcherOptions options)`