org.apache.beehive.netui.pageflow.interceptor.action
Class InterceptorForward
Object
ForwardConfig
ActionForward
Forward
InterceptorForward
- All Implemented Interfaces:
- Serializable
public class InterceptorForward
- extends Forward
Forward returned from an ActionInterceptor
to alter the destination URI of a page flow action.
- See Also:
- Serialized Form
Fields inherited from class ForwardConfig |
configured, contextRelative, name, path, redirect |
Methods inherited from class Forward |
addActionOutput, addOutputForm, addPageInput, addQueryParam, addQueryParam, doesResolve, doesRestoreQueryString, findForward, forwardsToPageFlow, getActionOutputs, getFirstOutputForm, getOutputForms, getPageInputs, getPath, getQueryString, getReturnToType, getReturnToTypeAsString, hasExplicitRedirectValue, hasRelativeToPath, initialize, initialize, initializeRelativePath, isExternalRedirect, isNestedReturn, isRedirect, isReturnToAction, isReturnToPage, setAlternateModuleConfig, setExternalRedirect, setPath, setQueryString, setRedirect, setRestoreQueryString |
Methods inherited from class ForwardConfig |
freeze, getContextRelative, getName, getRedirect, setContextRelative, setName, toString |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InterceptorForward
protected InterceptorForward(Forward originalForward)
InterceptorForward
protected InterceptorForward(HttpServletRequest request)
InterceptorForward
public InterceptorForward(String path)
- Construct from a webapp-relative path.
- Parameters:
path
- the webapp-relative destination path.
InterceptorForward
public InterceptorForward(String path,
boolean redirect)
- Construct from a URI.
- Parameters:
path
- the webapp-relative destination path.redirect
- if true
, the controller will redirect to the given path; otherwise, a server forward
will be performed.
InterceptorForward
public InterceptorForward(URI uri)
- Construct from a URI.
- Parameters:
uri
- the URI pointed to by this Forward. This is assumed to be webapp-relative
(i.e., it does not include the webapp context path), unless Forward.setExternalRedirect(boolean)
is called.
InterceptorForward
public InterceptorForward(URI uri,
boolean redirect)
- Construct from a URI.
- Parameters:
uri
- the URI pointed to by this Forward. This is assumed to be webapp-relative
(i.e., it does not include the webapp context path), unless Forward.setExternalRedirect(boolean)
is called.redirect
- if true
, the controller will redirect to the given URI; otherwise, a server forward
will be performed.
rehydrateRequest
public void rehydrateRequest(HttpServletRequest request)