public class MockPortletRequestDispatcher extends Object implements javax.portlet.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(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response) |
void |
include(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response) |
void |
include(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
public MockPortletRequestDispatcher(String url)
url
- the URL to dispatch to.public void include(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
include
in interface javax.portlet.PortletRequestDispatcher
javax.portlet.PortletException
IOException
public void include(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException, IOException
include
in interface javax.portlet.PortletRequestDispatcher
javax.portlet.PortletException
IOException
public void forward(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException, IOException
forward
in interface javax.portlet.PortletRequestDispatcher
javax.portlet.PortletException
IOException
Copyright © 2015. All rights reserved.