public class MockPortletRequestDispatcher extends Object implements PortletRequestDispatcher
PortletRequestDispatcher interface.| Constructor and Description |
|---|
MockPortletRequestDispatcher(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(String url)
url - the URL to dispatch to.public void include(RenderRequest request, RenderResponse response) throws PortletException, IOException
include in interface PortletRequestDispatcherPortletExceptionIOExceptionpublic void include(PortletRequest request, PortletResponse response) throws PortletException, IOException
include in interface PortletRequestDispatcherPortletExceptionIOExceptionpublic void forward(PortletRequest request, PortletResponse response) throws PortletException, IOException
forward in interface PortletRequestDispatcherPortletExceptionIOException