public interface PortletResultHelper
| Modifier and Type | Method and Description |
|---|---|
void |
include(javax.portlet.PortletRequestDispatcher dispatcher,
String contentType,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Call a dispatcher's include method, abstracted from the used Portlet API version.
|
void |
setPortletMode(javax.portlet.PortletResponse response,
javax.portlet.PortletMode portletMode)
Set a portlet mode, abstracted from the used Portlet API version
|
void |
setRenderParameter(javax.portlet.PortletResponse response,
String key,
String value)
Set a render parameter, abstracted from the used Portlet API version
|
void setRenderParameter(javax.portlet.PortletResponse response,
String key,
String value)
response - The response to set the parameter on.key - The parameter key to set.value - The parameter value to set.void setPortletMode(javax.portlet.PortletResponse response,
javax.portlet.PortletMode portletMode)
throws javax.portlet.PortletModeException
response - The response to set the portlet mode on.portletMode - The portlet mode to set.javax.portlet.PortletModeExceptionvoid include(javax.portlet.PortletRequestDispatcher dispatcher,
String contentType,
javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
throws IOException,
javax.portlet.PortletException
dispatcher - The dispatcher to call the include method on.contentType - The content type to set for the response.request - The request to use for includingresponse - The response to use for includingIOExceptionjavax.portlet.PortletExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.