|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts2.dispatcher.StrutsResultSupport
org.apache.struts2.portlet.result.PortletResult
public class PortletResult
Result type that includes a JSP to render.
| Field Summary | |
|---|---|
protected javax.portlet.PortletMode |
portletMode
|
| Fields inherited from class org.apache.struts2.dispatcher.StrutsResultSupport |
|---|
DEFAULT_PARAM |
| Fields inherited from interface org.apache.struts2.StrutsStatics |
|---|
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER, STRUTS_ACTION_TAG_INVOCATION, STRUTS_PORTLET_CONTEXT |
| Constructor Summary | |
|---|---|
PortletResult()
|
|
PortletResult(String location)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.apache.struts2.dispatcher.StrutsResultSupport |
|---|
conditionalParse, execute, getLastFinalLocation, getLocation, setEncode, setLocation, setParse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.portlet.PortletMode portletMode
| Constructor Detail |
|---|
public PortletResult()
public PortletResult(String location)
| Method Detail |
|---|
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.PortletException
IOExceptionpublic 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||