|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.trajano.twiff.internal.servlet.StringActionResultProcessor
public class StringActionResultProcessor
Processes action results of strings.
Constructor Summary | |
---|---|
StringActionResultProcessor(Configuration configuration,
WebXmlAdapter webXmlAdapter)
Constructs the processor. |
Method Summary | |
---|---|
boolean |
isResultProcessable(Object result,
HttpServletRequest request)
Returns true if the result is a string. |
String |
processActionResult(Object result,
HttpServletRequest request)
Processes the action result and returns the URL to redirect to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StringActionResultProcessor(Configuration configuration, WebXmlAdapter webXmlAdapter)
configuration
- the configuration to get the token value.webXmlAdapter
- web.xml adapterMethod Detail |
---|
public boolean isResultProcessable(Object result, HttpServletRequest request)
isResultProcessable
in interface ActionResultProcessor
result
- result of the action.request
- servlet request.
ActionResultProcessor.isResultProcessable(java.lang.Object,
javax.servlet.http.HttpServletRequest)
public String processActionResult(Object result, HttpServletRequest request)
ActionResultProcessor
processActionResult
in interface ActionResultProcessor
result
- result of the action.request
- request object.
ActionResultProcessor.processActionResult(java.lang.Object,
javax.servlet.http.HttpServletRequest)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |