Package de.xima.fc.exceptions.http
Class RedirectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
de.xima.fc.exceptions.http.RedirectException
- All Implemented Interfaces:
IRedirectAction
,Serializable
An exception that also indicates a
redirection action
.- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RedirectException.Builder
newBuilder
(IUrlResource target) static RedirectException.Builder
newBuilder
(String target) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
newBuilder
-
newBuilder
-
getTarget
- Specified by:
getTarget
in interfaceIRedirectAction
- Returns:
- a URL resource of where to redirect to.
-
getViewMessage
- Specified by:
getViewMessage
in interfaceIRedirectAction
- Returns:
- an optional view message that is to be displayed upon redirection.
-