Package com.liferay.portlet.internal
Class PortletRequestDispatcherImpl
Object
com.liferay.portlet.internal.PortletRequestDispatcherImpl
- All Implemented Interfaces:
PortletRequestDispatcher
,javax.servlet.RequestDispatcher
public class PortletRequestDispatcherImpl
extends Object
implements PortletRequestDispatcher, javax.servlet.RequestDispatcher
- Author:
- Brian Wing Shun Chan, Brian Myunghun Kim, Raymond Augé
-
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_MAPPING, FORWARD_PATH_INFO, FORWARD_QUERY_STRING, FORWARD_REQUEST_URI, FORWARD_SERVLET_PATH, INCLUDE_CONTEXT_PATH, INCLUDE_MAPPING, INCLUDE_PATH_INFO, INCLUDE_QUERY_STRING, INCLUDE_REQUEST_URI, INCLUDE_SERVLET_PATH
-
Constructor Summary
ConstructorsConstructorDescriptionPortletRequestDispatcherImpl
(javax.servlet.RequestDispatcher requestDispatcher, boolean named, PortletContext portletContext) PortletRequestDispatcherImpl
(javax.servlet.RequestDispatcher requestDispatcher, boolean named, PortletContext portletContext, String path) PortletRequestDispatcherImpl
(javax.servlet.RequestDispatcher requestDispatcher, String path) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkCalledFlushBuffer
(boolean include, PortletResponse portletResponse) protected javax.servlet.http.HttpServletRequest
createDynamicServletRequest
(javax.servlet.http.HttpServletRequest httpServletRequest, com.liferay.portal.kernel.portlet.LiferayPortletRequest liferayPortletRequest, Map<String, String[]> parameterMap) protected void
dispatch
(PortletRequest portletRequest, PortletResponse portletResponse, boolean include) protected void
dispatch
(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, boolean include) void
forward
(PortletRequest portletRequest, PortletResponse portletResponse) void
forward
(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) void
include
(PortletRequest portletRequest, PortletResponse portletResponse) void
include
(RenderRequest renderRequest, RenderResponse renderResponse) void
include
(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) toParameterMap
(String queryString)
-
Constructor Details
-
PortletRequestDispatcherImpl
public PortletRequestDispatcherImpl(javax.servlet.RequestDispatcher requestDispatcher, boolean named, PortletContext portletContext) -
PortletRequestDispatcherImpl
public PortletRequestDispatcherImpl(javax.servlet.RequestDispatcher requestDispatcher, boolean named, PortletContext portletContext, String path) -
PortletRequestDispatcherImpl
-
-
Method Details
-
forward
public void forward(PortletRequest portletRequest, PortletResponse portletResponse) throws IllegalStateException, IOException, PortletException - Specified by:
forward
in interfacePortletRequestDispatcher
- Throws:
IllegalStateException
IOException
PortletException
-
forward
public void forward(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws IOException, javax.servlet.ServletException - Specified by:
forward
in interfacejavax.servlet.RequestDispatcher
- Throws:
IOException
javax.servlet.ServletException
-
include
public void include(PortletRequest portletRequest, PortletResponse portletResponse) throws IOException, PortletException - Specified by:
include
in interfacePortletRequestDispatcher
- Throws:
IOException
PortletException
-
include
public void include(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException - Specified by:
include
in interfacePortletRequestDispatcher
- Throws:
IOException
PortletException
-
include
public void include(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse) throws IOException, javax.servlet.ServletException - Specified by:
include
in interfacejavax.servlet.RequestDispatcher
- Throws:
IOException
javax.servlet.ServletException
-
checkCalledFlushBuffer
-
createDynamicServletRequest
-
dispatch
protected void dispatch(PortletRequest portletRequest, PortletResponse portletResponse, boolean include) throws IOException, PortletException - Throws:
IOException
PortletException
-
dispatch
protected void dispatch(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, boolean include) throws IOException, javax.servlet.ServletException - Throws:
IOException
javax.servlet.ServletException
-
toParameterMap
-