Package de.xima.fc.mdl.http
Class RedirectAction
- java.lang.Object
-
- de.xima.fc.mdl.http.RedirectAction
-
- All Implemented Interfaces:
IRedirectAction
public class RedirectAction extends Object implements IRedirectAction
Default implementation of theIRedirectAction
.- Since:
- 8.0.1
- Author:
- XIMA MEDIA GmbH
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RedirectAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IUrlResource
getTarget()
ViewMessage
getViewMessage()
static RedirectAction.Builder
newBuilder(IUrlResource target)
static RedirectAction.Builder
newBuilder(String target)
-
-
-
Method Detail
-
newBuilder
public static RedirectAction.Builder newBuilder(IUrlResource target)
-
newBuilder
public static RedirectAction.Builder newBuilder(String target)
-
getTarget
public IUrlResource getTarget()
- Specified by:
getTarget
in interfaceIRedirectAction
- Returns:
- a URL resource of where to redirect to.
-
getViewMessage
@Nullable public ViewMessage getViewMessage()
- Specified by:
getViewMessage
in interfaceIRedirectAction
- Returns:
- an optional view message that is to be displayed upon redirection.
-
-