T
- K
- public class ViewTransitionResult<T,K> extends ChainedTransitionResult<T,K>
ChainedTransitionResult
with a null key but with the destination
a "bookmarkable" location so in HTML it uses a redirect not a forward. The TransitionServlet
will convert this to a plain ChainedTransitionResult
before processing. In non web contexts the
two representations are identical.Constructor and Description |
---|
ViewTransitionResult(AppContext conn,
java.lang.Class<? extends ViewTransitionFactory> template,
java.lang.String tag,
T target)
Alternate constructor that performs a lookup of the
ViewTransitionFactory
This is preferable if an instance is not already available as it can utilise
any cached copy. |
ViewTransitionResult(ViewTransitionFactory<K,T> provider,
T target) |
Modifier and Type | Method and Description |
---|---|
boolean |
useURL()
Is this a transition to a bookmarkable location.
|
accept, equals, getProvider, getTarget, getTransition, hashCode
public ViewTransitionResult(ViewTransitionFactory<K,T> provider, T target)
public ViewTransitionResult(AppContext conn, java.lang.Class<? extends ViewTransitionFactory> template, java.lang.String tag, T target)
ViewTransitionFactory
This is preferable if an instance is not already available as it can utilise
any cached copy.conn
- template
- tag
- target
- public boolean useURL()
ChainedTransitionResult
useURL
in class ChainedTransitionResult<T,K>