public class PortletResult extends StrutsResultSupport
| Modifier and Type | Field and Description |
|---|---|
protected javax.portlet.PortletMode |
portletMode |
DEFAULT_PARAMHTTP_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, execute, getLastFinalLocation, getLocation, setEncode, setLocation, setParsepublic PortletResult()
public PortletResult(String location)
public void doExecute(String finalLocation, com.opensymphony.xwork2.ActionInvocation actionInvocation) throws Exception
PortletRequestDispatcherfrom the
PortletActionContextand includes the JSP.doExecute in class StrutsResultSupportExceptionResult.execute(com.opensymphony.xwork2.ActionInvocation)protected void executeActionResult(String finalLocation, com.opensymphony.xwork2.ActionInvocation invocation) throws Exception
finalLocation - invocation - Exceptionprotected void convertQueryParamsToRenderParams(String queryParams)
queryParams - protected void executeMimeResult(String finalLocation) throws javax.portlet.PortletException, IOException
finalLocation - javax.portlet.PortletExceptionIOExceptionpublic 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-2013 Apache Software Foundation. All Rights Reserved.