public class PortletResult extends StrutsResultSupport
| Modifier and Type | Field and Description |
|---|---|
protected javax.portlet.PortletMode |
portletMode |
DEFAULT_PARAM, DEFAULT_URL_ENCODING, parseLocationHTTP_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,
ActionInvocation actionInvocation)
Execute the result.
|
protected void |
executeActionResult(String finalLocation,
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, setParsepublic PortletResult()
public PortletResult(String location)
public void doExecute(String finalLocation, ActionInvocation actionInvocation) throws Exception
PortletRequestDispatcherfrom the
PortletActionContextand includes the JSP.doExecute in class StrutsResultSupportfinalLocation - the final locationactionInvocation - the action invocationException - in case of any errorsResult.execute(com.opensymphony.xwork2.ActionInvocation)protected void executeActionResult(String finalLocation, ActionInvocation invocation) throws Exception
finalLocation - the final locationinvocation - the action invocationException - in case of any errorsprotected void convertQueryParamsToRenderParams(String queryParams)
queryParams - query parameterprotected void executeMimeResult(String finalLocation) throws javax.portlet.PortletException, IOException
finalLocation - the final locationjavax.portlet.PortletException - in case of any Portlet errorsIOException - in case of any IO errorspublic 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–2023 Apache Software Foundation. All rights reserved.