public class MockPortletRequestDispatcher extends java.lang.Object implements PortletRequestDispatcher
PortletRequestDispatcher interface.| Constructor and Description |
|---|
MockPortletRequestDispatcher(java.lang.String url)
Create a new MockPortletRequestDispatcher for the given URL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
forward(PortletRequest request,
PortletResponse response) |
void |
include(PortletRequest request,
PortletResponse response) |
void |
include(RenderRequest request,
RenderResponse response) |
public MockPortletRequestDispatcher(java.lang.String url)
url - the URL to dispatch to.public void include(RenderRequest request, RenderResponse response) throws PortletException, java.io.IOException
include in interface PortletRequestDispatcherPortletExceptionjava.io.IOExceptionpublic void include(PortletRequest request, PortletResponse response) throws PortletException, java.io.IOException
include in interface PortletRequestDispatcherPortletExceptionjava.io.IOExceptionpublic void forward(PortletRequest request, PortletResponse response) throws PortletException, java.io.IOException
forward in interface PortletRequestDispatcherPortletExceptionjava.io.IOException