org.chorem.pollen.ui.results
Class PollenServletActionRedirectResult

java.lang.Object
  extended by org.apache.struts2.dispatcher.StrutsResultSupport
      extended by org.apache.struts2.dispatcher.ServletRedirectResult
          extended by org.apache.struts2.dispatcher.ServletActionRedirectResult
              extended by org.chorem.pollen.ui.results.PollenServletActionRedirectResult
All Implemented Interfaces:
com.opensymphony.xwork2.Result, com.opensymphony.xwork2.util.reflection.ReflectionExceptionHandler, Serializable, org.apache.struts2.StrutsStatics

public class PollenServletActionRedirectResult
extends org.apache.struts2.dispatcher.ServletActionRedirectResult

Fork of the ServletActionRedirectResult to be able to use : in urls.

See Also:
ActionMapper, Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts2.dispatcher.ServletActionRedirectResult
actionName, DEFAULT_PARAM, method, namespace
 
Fields inherited from class org.apache.struts2.dispatcher.ServletRedirectResult
actionMapper, anchor, prependServletContext, requestParameters, statusCode, suppressEmptyParameters
 
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
PollenServletActionRedirectResult()
           
 
Method Summary
protected  void doExecute(String finalLocation, com.opensymphony.xwork2.ActionInvocation invocation)
          Redirects to the location specified by calling HttpServletResponse.sendRedirect(String).
 
Methods inherited from class org.apache.struts2.dispatcher.ServletActionRedirectResult
execute, getProhibitedResultParams, setActionName, setMethod, setNamespace
 
Methods inherited from class org.apache.struts2.dispatcher.ServletRedirectResult
addParameter, handle, sendRedirect, setActionMapper, setAnchor, setPrependServletContext, setStatusCode, setSuppressEmptyParameters, setUrlHelper
 
Methods inherited from class org.apache.struts2.dispatcher.StrutsResultSupport
conditionalParse, getLastFinalLocation, getLocation, setEncode, setLocation, setParse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.opensymphony.xwork2.util.reflection.ReflectionExceptionHandler
handle
 

Constructor Detail

PollenServletActionRedirectResult

public PollenServletActionRedirectResult()
Method Detail

doExecute

protected void doExecute(String finalLocation,
                         com.opensymphony.xwork2.ActionInvocation invocation)
                  throws Exception
Redirects to the location specified by calling HttpServletResponse.sendRedirect(String).

Overrides:
doExecute in class org.apache.struts2.dispatcher.ServletRedirectResult
Parameters:
finalLocation - the location to redirect to.
invocation - an encapsulation of the action execution state.
Throws:
Exception - if an error occurs when redirecting.


Copyright © 2009-2012 CodeLutin. All Rights Reserved.