|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletResultHelper
PortletResultHelper abstracts Portlet API result functions specific to the used API spec version.
Method Summary | |
---|---|
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 |
Method Detail |
---|
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.PortletModeException
void 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 including
IOException
javax.portlet.PortletException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |