public interface LogicResult extends View
Modifier and Type | Method and Description |
---|---|
<T> T |
forwardTo(Class<T> type)
Returns an instance of the given (pre-registered) logic.
|
<T> T |
redirectTo(Class<T> type)
Returns an instance of that (pre-registered) logic.
|
<T> T forwardTo(Class<T> type)
Returns an instance of the given (pre-registered) logic.
Any method called in the returned instance will cause a server side redirect (forward) to the called action.
T
- controller type<T> T redirectTo(Class<T> type)
Returns an instance of that (pre-registered) logic.
Any method called in the returned instance will cause a client side redirect to the called action, with the given parameters as HTTP parameters.
T
- controller typeCopyright © 2014 Caelum. All rights reserved.