public class MockPortletRequestDispatcher
extends java.lang.Object
javax.portlet.PortletRequestDispatcher
interface.Modifier and Type | Field and Description |
---|---|
private Log |
logger |
private java.lang.String |
url |
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
PortletException
java.io.IOException
public void include(PortletRequest request, PortletResponse response) throws PortletException, java.io.IOException
PortletException
java.io.IOException
public void forward(PortletRequest request, PortletResponse response) throws PortletException, java.io.IOException
PortletException
java.io.IOException