Package org.pac4j.core.exception.http
Class TemporaryRedirectAction
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.pac4j.core.exception.TechnicalException
-
- org.pac4j.core.exception.http.HttpAction
-
- org.pac4j.core.exception.http.RedirectionAction
-
- org.pac4j.core.exception.http.TemporaryRedirectAction
-
- All Implemented Interfaces:
Serializable
,WithContentAction
public class TemporaryRedirectAction extends RedirectionAction implements WithContentAction
A temporary redirect action.- Since:
- 4.0.0
- Author:
- Jerome Leleu
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pac4j.core.exception.http.HttpAction
code
-
-
Constructor Summary
Constructors Constructor Description TemporaryRedirectAction(String content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContent()
-
Methods inherited from class org.pac4j.core.exception.http.HttpAction
getCode, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
TemporaryRedirectAction
public TemporaryRedirectAction(String content)
-
-
Method Detail
-
getContent
public String getContent()
- Specified by:
getContent
in interfaceWithContentAction
-
-