Package org.pac4j.core.exception.http
Class HttpAction
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.pac4j.core.exception.TechnicalException
-
- org.pac4j.core.exception.http.HttpAction
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
BadRequestAction
,ForbiddenAction
,NoContentAction
,RedirectionAction
,StatusAction
,UnauthorizedAction
public abstract class HttpAction extends TechnicalException
The HTTP action, to perform on the web context by the appropriateHttpActionAdapter
.- Since:
- 1.4.0
- Author:
- Jerome Leleu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected int
code
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpAction(int code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCode()
Return the HTTP code.java.lang.String
toString()
-