类 MockPortletRequestDispatcher
- java.lang.Object
- org.springframework.mock.web.portlet.MockPortletRequestDispatcher
- 所有已实现的接口:
PortletRequestDispatcher
public class MockPortletRequestDispatcher extends Object implements PortletRequestDispatcher
Mock implementation of thePortletRequestDispatcher
interface.- 从以下版本开始:
- 2.0
- 作者:
- John A. Lewis, Juergen Hoeller
构造器概要
构造器 构造器 说明 MockPortletRequestDispatcher(String url)
Create a new MockPortletRequestDispatcher for the given URL.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
forward(PortletRequest request, PortletResponse response)
void
include(PortletRequest request, PortletResponse response)
void
include(RenderRequest request, RenderResponse response)
构造器详细资料
MockPortletRequestDispatcher
public MockPortletRequestDispatcher(String url)
Create a new MockPortletRequestDispatcher for the given URL.- 参数:
url
- the URL to dispatch to.
方法详细资料
include
public void include(RenderRequest request, RenderResponse response) throws PortletException, IOException
include
public void include(PortletRequest request, PortletResponse response) throws PortletException, IOException
forward
public void forward(PortletRequest request, PortletResponse response) throws PortletException, IOException