Class SlingRequestDispatcher
java.lang.Object
org.apache.sling.engine.impl.request.SlingRequestDispatcher
- All Implemented Interfaces:
javax.servlet.RequestDispatcher
-
Field Summary
Fields inherited from interface javax.servlet.RequestDispatcher
ERROR_EXCEPTION, ERROR_EXCEPTION_TYPE, ERROR_MESSAGE, ERROR_REQUEST_URI, ERROR_SERVLET_NAME, ERROR_STATUS_CODE, FORWARD_CONTEXT_PATH, FORWARD_PATH_INFO, FORWARD_QUERY_STRING, FORWARD_REQUEST_URI, FORWARD_SERVLET_PATH, INCLUDE_CONTEXT_PATH, INCLUDE_PATH_INFO, INCLUDE_QUERY_STRING, INCLUDE_REQUEST_URI, INCLUDE_SERVLET_PATH
-
Constructor Summary
ConstructorDescriptionSlingRequestDispatcher
(String path, RequestDispatcherOptions options, boolean protectHeadersOnInclude, boolean checkContentTypeOnInclude) SlingRequestDispatcher
(Resource resource, RequestDispatcherOptions options, boolean protectHeadersOnInclude, boolean checkContentTypeOnInclude) -
Method Summary
-
Constructor Details
-
SlingRequestDispatcher
public SlingRequestDispatcher(String path, RequestDispatcherOptions options, boolean protectHeadersOnInclude, boolean checkContentTypeOnInclude) -
SlingRequestDispatcher
public SlingRequestDispatcher(Resource resource, RequestDispatcherOptions options, boolean protectHeadersOnInclude, boolean checkContentTypeOnInclude)
-
-
Method Details
-
include
public void include(javax.servlet.ServletRequest request, javax.servlet.ServletResponse sResponse) throws javax.servlet.ServletException, IOException - Specified by:
include
in interfacejavax.servlet.RequestDispatcher
- Throws:
javax.servlet.ServletException
IOException
-
forward
public void forward(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException - Specified by:
forward
in interfacejavax.servlet.RequestDispatcher
- Throws:
javax.servlet.ServletException
IOException
-