Package | Description |
---|---|
org.apache.sling.api | |
org.apache.sling.api.scripting | |
org.apache.sling.api.wrappers | |
org.apache.sling.scripting.core |
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 java.lang.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 java.lang.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 java.lang.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(java.lang.String path,
RequestDispatcherOptions options) |
Modifier and Type | Method and Description |
---|---|
void |
ScriptHelper.forward(Resource resource,
RequestDispatcherOptions options) |
void |
ScriptHelper.forward(java.lang.String path,
RequestDispatcherOptions options) |
void |
ScriptHelper.include(Resource resource,
RequestDispatcherOptions options) |
void |
ScriptHelper.include(java.lang.String path,
RequestDispatcherOptions options) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.