public enum RsStatus extends Enum<RsStatus>
| Enum Constant and Description |
|---|
ACCEPTED
Accepted.
|
BAD_RANGE
Requested Range Not Satisfiable.
|
BAD_REQUEST
Bad Request.
|
CONFLICT
Conflict.
|
CREATED
Created.
|
FORBIDDEN
Forbidden.
|
FOUND
Found.
|
INTERNAL_ERROR
Internal Server Error.
|
METHOD_NOT_ALLOWED
Method Not Allowed.
|
MOVED_PERMANENTLY
Moved Permanently.
|
NO_CONTENT
No Content.
|
NOT_FOUND
Not Found.
|
NOT_IMPLEMENTED
Not Implemented.
|
NOT_MODIFIED
Not Modified.
|
OK
OK.
|
REQUEST_TIMEOUT
Request Time-out.
|
TEMPORARY_REDIRECT
Temporary Redirect.
|
UNAUTHORIZED
Unauthorized.
|
UNAVAILABLE
Service Unavailable.
|
| Modifier and Type | Method and Description |
|---|---|
String |
code()
Code as 3-digit string.
|
static RsStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RsStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RsStatus OK
public static final RsStatus CREATED
public static final RsStatus ACCEPTED
public static final RsStatus NO_CONTENT
public static final RsStatus MOVED_PERMANENTLY
public static final RsStatus FOUND
public static final RsStatus NOT_MODIFIED
public static final RsStatus TEMPORARY_REDIRECT
public static final RsStatus BAD_REQUEST
public static final RsStatus UNAUTHORIZED
public static final RsStatus FORBIDDEN
public static final RsStatus NOT_FOUND
public static final RsStatus METHOD_NOT_ALLOWED
public static final RsStatus REQUEST_TIMEOUT
public static final RsStatus CONFLICT
public static final RsStatus BAD_RANGE
public static final RsStatus INTERNAL_ERROR
public static final RsStatus NOT_IMPLEMENTED
public static final RsStatus UNAVAILABLE
public static RsStatus[] values()
for (RsStatus c : RsStatus.values()) System.out.println(c);
public static RsStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String code()
Copyright © 2012–2020 jcabi.com. All rights reserved.