Package io.guise.framework
Class TemporaryRedirectReferenceDestination
java.lang.Object
com.globalmentor.beans.BoundPropertyObject
io.guise.framework.AbstractDestination
io.guise.framework.AbstractReferenceDestination
io.guise.framework.TemporaryRedirectReferenceDestination
- All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable
,com.globalmentor.beans.PropertyConstrainable
,Destination
,RedirectDestination
,ReferenceDestination
,TemporaryRedirectDestination
public class TemporaryRedirectReferenceDestination
extends AbstractReferenceDestination
implements TemporaryRedirectDestination
A destination that temporarily redirects to another referenced destination.
- Author:
- Garret Wilson
-
Field Summary
Fields inherited from class com.globalmentor.beans.BoundPropertyObject
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS
-
Constructor Summary
ConstructorDescriptionTemporaryRedirectReferenceDestination
(com.globalmentor.net.URIPath path, Destination destination) Path and referenced destination constructor.TemporaryRedirectReferenceDestination
(Pattern pathPattern, Destination destination) Path pattern and referenced destination constructor. -
Method Summary
Methods inherited from class io.guise.framework.AbstractReferenceDestination
getDestination
Methods inherited from class io.guise.framework.AbstractDestination
equals, exists, getCategories, getDescription, getPath, getPath, getPathPattern, hashCode, isAuthorized, setCategories
Methods inherited from class com.globalmentor.beans.BoundPropertyObject
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.guise.framework.Destination
exists, getCategories, getDescription, getPath, getPath, getPathPattern, isAuthorized, setCategories
Methods inherited from interface com.globalmentor.beans.PropertyBindable
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Constructor Details
-
TemporaryRedirectReferenceDestination
public TemporaryRedirectReferenceDestination(com.globalmentor.net.URIPath path, Destination destination) Path and referenced destination constructor.- Parameters:
path
- The application context-relative path within the Guise container context, which does not begin with '/'.destination
- The referenced destination.- Throws:
NullPointerException
- if the path and/or destination isnull
.IllegalArgumentException
- if the provided path is absolute.
-
TemporaryRedirectReferenceDestination
Path pattern and referenced destination constructor.- Parameters:
pathPattern
- The pattern to match an application context-relative path within the Guise container context, which does not begin with '/'.destination
- The referenced destination.- Throws:
NullPointerException
- if the path pattern and/or destination isnull
.
-