Enum HttpErrorException.StatusCode
- java.lang.Object
-
- java.lang.Enum<HttpErrorException.StatusCode>
-
- org.hertsstack.core.exception.http.HttpErrorException.StatusCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HttpErrorException.StatusCode>
- Enclosing class:
- HttpErrorException
public static enum HttpErrorException.StatusCode extends java.lang.Enum<HttpErrorException.StatusCode>
Herts supports http status code
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIntegerCode()
java.lang.String
getStringCode()
static HttpErrorException.StatusCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HttpErrorException.StatusCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Status300
public static final HttpErrorException.StatusCode Status300
-
Status301
public static final HttpErrorException.StatusCode Status301
-
Status302
public static final HttpErrorException.StatusCode Status302
-
Status303
public static final HttpErrorException.StatusCode Status303
-
Status304
public static final HttpErrorException.StatusCode Status304
-
Status305
public static final HttpErrorException.StatusCode Status305
-
Status306
public static final HttpErrorException.StatusCode Status306
-
Status307
public static final HttpErrorException.StatusCode Status307
-
Status308
public static final HttpErrorException.StatusCode Status308
-
Status400
public static final HttpErrorException.StatusCode Status400
-
Status401
public static final HttpErrorException.StatusCode Status401
-
Status402
public static final HttpErrorException.StatusCode Status402
-
Status403
public static final HttpErrorException.StatusCode Status403
-
Status404
public static final HttpErrorException.StatusCode Status404
-
Status405
public static final HttpErrorException.StatusCode Status405
-
Status406
public static final HttpErrorException.StatusCode Status406
-
Status407
public static final HttpErrorException.StatusCode Status407
-
Status408
public static final HttpErrorException.StatusCode Status408
-
Status409
public static final HttpErrorException.StatusCode Status409
-
Status410
public static final HttpErrorException.StatusCode Status410
-
Status411
public static final HttpErrorException.StatusCode Status411
-
Status412
public static final HttpErrorException.StatusCode Status412
-
Status413
public static final HttpErrorException.StatusCode Status413
-
Status414
public static final HttpErrorException.StatusCode Status414
-
Status415
public static final HttpErrorException.StatusCode Status415
-
Status416
public static final HttpErrorException.StatusCode Status416
-
Status417
public static final HttpErrorException.StatusCode Status417
-
Status418
public static final HttpErrorException.StatusCode Status418
-
Status421
public static final HttpErrorException.StatusCode Status421
-
Status422
public static final HttpErrorException.StatusCode Status422
-
Status423
public static final HttpErrorException.StatusCode Status423
-
Status424
public static final HttpErrorException.StatusCode Status424
-
Status425
public static final HttpErrorException.StatusCode Status425
-
Status426
public static final HttpErrorException.StatusCode Status426
-
Status427
public static final HttpErrorException.StatusCode Status427
-
Status428
public static final HttpErrorException.StatusCode Status428
-
Status429
public static final HttpErrorException.StatusCode Status429
-
Status431
public static final HttpErrorException.StatusCode Status431
-
Status451
public static final HttpErrorException.StatusCode Status451
-
Status500
public static final HttpErrorException.StatusCode Status500
-
Status501
public static final HttpErrorException.StatusCode Status501
-
Status502
public static final HttpErrorException.StatusCode Status502
-
Status503
public static final HttpErrorException.StatusCode Status503
-
Status504
public static final HttpErrorException.StatusCode Status504
-
Status505
public static final HttpErrorException.StatusCode Status505
-
Status506
public static final HttpErrorException.StatusCode Status506
-
Status507
public static final HttpErrorException.StatusCode Status507
-
Status508
public static final HttpErrorException.StatusCode Status508
-
Status510
public static final HttpErrorException.StatusCode Status510
-
Status511
public static final HttpErrorException.StatusCode Status511
-
-
Method Detail
-
values
public static HttpErrorException.StatusCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HttpErrorException.StatusCode c : HttpErrorException.StatusCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpErrorException.StatusCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getStringCode
public java.lang.String getStringCode()
-
getIntegerCode
public int getIntegerCode()
-
-