Class HttpStatusCode
java.lang.Object
com.github.enesusta.spring.devtools.HttpStatusCode
public class HttpStatusCode extends Object
-
Field Summary
Fields Modifier and Type Field Description static intSC_HAS_NOT_AUTHORITYStatus code ( 421 ) indicating an error inside the HTTP Server which prevented to user who has not required AUTHORITYstatic intSC_HAS_NOT_ROLEStatus code ( 420 ) indicating an error inside the HTTP Server which prevented to user who has not required ROLE -
Constructor Summary
Constructors Constructor Description HttpStatusCode() -
Method Summary
-
Field Details
-
SC_HAS_NOT_ROLE
public static final int SC_HAS_NOT_ROLEStatus code ( 420 ) indicating an error inside the HTTP Server which prevented to user who has not required ROLE- See Also:
- Constant Field Values
-
SC_HAS_NOT_AUTHORITY
public static final int SC_HAS_NOT_AUTHORITYStatus code ( 421 ) indicating an error inside the HTTP Server which prevented to user who has not required AUTHORITY- See Also:
- Constant Field Values
-
-
Constructor Details
-
HttpStatusCode
public HttpStatusCode()
-