Modifier and Type | Field and Description |
---|---|
static int |
ACCEPTED |
static int |
BAD_REQUEST |
static int |
CREATED |
static int |
FORBIDDEN |
static int |
FOUND |
static int |
GATEWAY_TIMEOUT |
static int |
INTERNAL_ERROR |
static int |
METHOD |
static int |
MOVED |
static int |
NO_RESPONSE |
static int |
NOT_FOUND |
static int |
NOT_IMPLEMENTED |
static int |
NOT_MODIFIED |
static int |
OK |
static int |
OVERLOADED |
static int |
PARTIAL_INFO |
static int |
PAYMENT_REQUIRED |
static int |
UNAUTHORIZED |
Constructor and Description |
---|
StatusCode() |
Modifier and Type | Method and Description |
---|---|
static boolean |
error(int code) |
static boolean |
redirect(int code) |
static boolean |
success(int code) |
public static final int OK
public static final int CREATED
public static final int ACCEPTED
public static final int PARTIAL_INFO
public static final int NO_RESPONSE
public static final int MOVED
public static final int FOUND
public static final int METHOD
public static final int NOT_MODIFIED
public static final int BAD_REQUEST
public static final int UNAUTHORIZED
public static final int PAYMENT_REQUIRED
public static final int FORBIDDEN
public static final int NOT_FOUND
public static final int INTERNAL_ERROR
public static final int NOT_IMPLEMENTED
public static final int OVERLOADED
public static final int GATEWAY_TIMEOUT
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly