public class PortletResult extends StrutsResultSupport
Modifier and Type | Field and Description |
---|---|
protected javax.portlet.PortletMode |
portletMode |
DEFAULT_PARAM, DEFAULT_URL_ENCODING
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT
Constructor and Description |
---|
PortletResult() |
PortletResult(String location) |
Modifier and Type | Method and Description |
---|---|
protected void |
convertQueryParamsToRenderParams(String queryParams)
Converts the query params to render params.
|
void |
doExecute(String finalLocation,
com.opensymphony.xwork2.ActionInvocation actionInvocation)
Execute the result.
|
protected void |
executeActionResult(String finalLocation,
com.opensymphony.xwork2.ActionInvocation invocation)
Executes the action result.
|
protected void |
executeMimeResult(String finalLocation)
Executes the render result.
|
void |
setContentType(String contentType)
Sets the content type.
|
void |
setDispatcherServletName(String dispatcherServletName) |
void |
setPortletMode(String portletMode) |
void |
setTitle(String title)
Sets the title.
|
void |
setUseDispatcherServlet(String useDispatcherServlet) |
conditionalParse, conditionalParseCollection, execute, getLastFinalLocation, getLocation, setEncode, setLocation, setParse
public PortletResult()
public PortletResult(String location)
public void doExecute(String finalLocation, com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
PortletRequestDispatcher
from the
PortletActionContext
and includes the JSP.doExecute
in class StrutsResultSupport
Exception
Result.execute(com.opensymphony.xwork2.ActionInvocation)
protected void executeActionResult(String finalLocation, com.opensymphony.xwork2.ActionInvocation invocation) throws Exception
finalLocation
- invocation
- Exception
protected void convertQueryParamsToRenderParams(String queryParams)
queryParams
- protected void executeMimeResult(String finalLocation) throws javax.portlet.PortletException, IOException
finalLocation
- javax.portlet.PortletException
IOException
public void setContentType(String contentType)
contentType
- The content type to set.public void setTitle(String title)
title
- The title to set.public void setPortletMode(String portletMode)
public void setUseDispatcherServlet(String useDispatcherServlet)
public void setDispatcherServletName(String dispatcherServletName)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.