com.jivesoftware.base.util.webwork
Class ServletDispatcherResult
java.lang.Object
com.opensymphony.webwork.dispatcher.WebWorkResultSupport
com.jivesoftware.base.util.webwork.ServletDispatcherResult
- All Implemented Interfaces:
- com.opensymphony.webwork.WebWorkStatics, com.opensymphony.xwork.Result, java.io.Serializable
public class ServletDispatcherResult
- extends com.opensymphony.webwork.dispatcher.WebWorkResultSupport
Special proxy result that tries to make JRun work.
- See Also:
- Serialized Form
Fields inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
DEFAULT_PARAM, encode, location, parse |
Fields inherited from interface com.opensymphony.webwork.WebWorkStatics |
HTTP_REQUEST, HTTP_RESPONSE, PAGE_CONTEXT, SERVLET_CONTEXT, SERVLET_DISPATCHER |
Method Summary |
void |
doDefaultExecute(java.lang.String finalLocation,
com.opensymphony.xwork.ActionInvocation invocation)
Dispatches to the given location. |
void |
doExecute(java.lang.String finalLocation,
com.opensymphony.xwork.ActionInvocation invocation)
|
void |
setLocation(java.lang.String location)
|
void |
setParse(boolean parse)
|
Methods inherited from class com.opensymphony.webwork.dispatcher.WebWorkResultSupport |
conditionalParse, execute, setEncode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletDispatcherResult
public ServletDispatcherResult()
doExecute
public void doExecute(java.lang.String finalLocation,
com.opensymphony.xwork.ActionInvocation invocation)
throws java.lang.Exception
- Specified by:
doExecute
in class com.opensymphony.webwork.dispatcher.WebWorkResultSupport
- Throws:
java.lang.Exception
doDefaultExecute
public void doDefaultExecute(java.lang.String finalLocation,
com.opensymphony.xwork.ActionInvocation invocation)
throws java.lang.Exception
- Dispatches to the given location. Does its forward via a RequestDispatcher. If the
dispatch fails a 404 error will be sent back in the http response.
- Parameters:
finalLocation
- the location to dispatch to.invocation
- the execution state of the action
- Throws:
java.lang.Exception
- if an error occurs. If the dispatch fails the error will go back via the
HTTP request.
setLocation
public void setLocation(java.lang.String location)
- Overrides:
setLocation
in class com.opensymphony.webwork.dispatcher.WebWorkResultSupport
setParse
public void setParse(boolean parse)
- Overrides:
setParse
in class com.opensymphony.webwork.dispatcher.WebWorkResultSupport
Copyright © 1999-2006 Jive Software.