Package org.pac4j.core.exception.http
Class OkAction
-
- All Implemented Interfaces:
Serializable
,WithContentAction
public class OkAction extends RedirectionAction implements WithContentAction
An OK HTTP 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
-
-
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
-
OkAction
public OkAction(String content)
-
-
Method Detail
-
getContent
public String getContent()
- Specified by:
getContent
in interfaceWithContentAction
-
-