| Package | Description |
|---|---|
| org.apache.sling.api | |
| org.apache.sling.api.scripting | |
| org.apache.sling.api.wrappers |
| Modifier and Type | Method and Description |
|---|---|
@Nullable javax.servlet.RequestDispatcher |
SlingHttpServletRequest.getRequestDispatcher(@NotNull Resource resource,
RequestDispatcherOptions options)
Returns a
RequestDispatcher object that acts as a wrapper
for the resource located at the given resource. |
@Nullable javax.servlet.RequestDispatcher |
SlingHttpServletRequest.getRequestDispatcher(@NotNull String path,
RequestDispatcherOptions options)
Returns a
RequestDispatcher object that acts as a wrapper
for the resource located at the given path. |
| Modifier and Type | Method and Description |
|---|---|
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.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.include(@NotNull Resource resource,
RequestDispatcherOptions options)
Helper method to include the result of processing the request 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. |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.RequestDispatcher |
SlingHttpServletRequestWrapper.getRequestDispatcher(Resource resource,
RequestDispatcherOptions options) |
javax.servlet.RequestDispatcher |
SlingHttpServletRequestWrapper.getRequestDispatcher(String path,
RequestDispatcherOptions options) |
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.