|
||||||||||
| 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.portlet.PortletActionConstants |
|---|
ACTION_MAPPING, ACTION_PARAM, ACTION_PHASE, ACTION_RESET, DEFAULT_ACTION_FOR_MODE, DEFAULT_ACTION_NAME, DEFAULT_DISPATCHER_SERVLET_NAME, DISPATCH_TO, ERROR_ACTION, EVENT_ACTION, MODE_NAMESPACE_MAP, MODE_PARAM, PHASE, PORTLET_CONFIG, PORTLET_NAMESPACE, RENDER_DIRECT_LOCATION, RENDER_PHASE, REQUEST, RESPONSE, STACK_FROM_EVENT_PHASE |
| 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(java.lang.String location)
|
|
| Method Summary | |
|---|---|
protected void |
convertQueryParamsToRenderParams(java.lang.String queryParams)
Converts the query params to render params. |
void |
doExecute(java.lang.String finalLocation,
ActionInvocation actionInvocation)
Execute the result. |
protected void |
executeActionResult(java.lang.String finalLocation,
ActionInvocation invocation)
Executes the action result. |
protected void |
executeMimeResult(java.lang.String finalLocation)
Executes the render result. |
void |
setContentType(java.lang.String contentType)
Sets the content type. |
void |
setDispatcherServletName(java.lang.String dispatcherServletName)
|
void |
setPortletMode(java.lang.String portletMode)
|
void |
setTitle(java.lang.String title)
Sets the title. |
void |
setUseDispatcherServlet(java.lang.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(java.lang.String location)
| Method Detail |
|---|
public void doExecute(java.lang.String finalLocation,
ActionInvocation actionInvocation)
throws java.lang.Exception
PortletRequestDispatcherfrom the
PortletActionContextand includes the JSP.
doExecute in class StrutsResultSupportjava.lang.ExceptionResult.execute(com.opensymphony.xwork2.ActionInvocation)
protected void executeActionResult(java.lang.String finalLocation,
ActionInvocation invocation)
throws java.lang.Exception
finalLocation - invocation -
java.lang.Exceptionprotected void convertQueryParamsToRenderParams(java.lang.String queryParams)
response - queryParams -
protected void executeMimeResult(java.lang.String finalLocation)
throws javax.portlet.PortletException,
java.io.IOException
finalLocation -
javax.portlet.PortletException
java.io.IOExceptionpublic void setContentType(java.lang.String contentType)
contentType - The content type to set.public void setTitle(java.lang.String title)
title - The title to set.public void setPortletMode(java.lang.String portletMode)
public void setUseDispatcherServlet(java.lang.String useDispatcherServlet)
public void setDispatcherServletName(java.lang.String dispatcherServletName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||