public static enum HttpConstants.HttpStatus extends Enum<HttpConstants.HttpStatus>
Modifier and Type | Method and Description |
---|---|
String |
getReasonPhrase() |
int |
getStatusCode() |
static HttpConstants.HttpStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpConstants.HttpStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpConstants.HttpStatus CONTINUE
public static final HttpConstants.HttpStatus SWITCHING_PROTOCOLS
public static final HttpConstants.HttpStatus PROCESSING
public static final HttpConstants.HttpStatus OK
public static final HttpConstants.HttpStatus CREATED
public static final HttpConstants.HttpStatus ACCEPTED
public static final HttpConstants.HttpStatus NON_AUTHORITATIVE_INFORMATION
public static final HttpConstants.HttpStatus NO_CONTENT
public static final HttpConstants.HttpStatus RESET_CONTENT
public static final HttpConstants.HttpStatus PARTIAL_CONTENT
public static final HttpConstants.HttpStatus MULTI_STATUS
public static final HttpConstants.HttpStatus MULTIPLE_CHOICES
public static final HttpConstants.HttpStatus MOVED_PERMANENTLY
public static final HttpConstants.HttpStatus MOVED_TEMPORARILY
public static final HttpConstants.HttpStatus SEE_OTHER
public static final HttpConstants.HttpStatus NOT_MODIFIED
public static final HttpConstants.HttpStatus USE_PROXY
public static final HttpConstants.HttpStatus TEMPORARY_REDIRECT
public static final HttpConstants.HttpStatus BAD_REQUEST
public static final HttpConstants.HttpStatus UNAUTHORIZED
public static final HttpConstants.HttpStatus PAYMENT_REQUIRED
public static final HttpConstants.HttpStatus FORBIDDEN
public static final HttpConstants.HttpStatus NOT_FOUND
public static final HttpConstants.HttpStatus METHOD_NOT_ALLOWED
public static final HttpConstants.HttpStatus NOT_ACCEPTABLE
public static final HttpConstants.HttpStatus PROXY_AUTHENTICATION_REQUIRED
public static final HttpConstants.HttpStatus REQUEST_TIMEOUT
public static final HttpConstants.HttpStatus CONFLICT
public static final HttpConstants.HttpStatus GONE
public static final HttpConstants.HttpStatus LENGTH_REQUIRED
public static final HttpConstants.HttpStatus PRECONDITION_FAILED
public static final HttpConstants.HttpStatus REQUEST_TOO_LONG
public static final HttpConstants.HttpStatus REQUEST_URI_TOO_LONG
public static final HttpConstants.HttpStatus UNSUPPORTED_MEDIA_TYPE
public static final HttpConstants.HttpStatus REQUESTED_RANGE_NOT_SATISFIABLE
public static final HttpConstants.HttpStatus EXPECTATION_FAILED
public static final HttpConstants.HttpStatus INTERNAL_SERVER_ERROR
public static final HttpConstants.HttpStatus NOT_IMPLEMENTED
public static final HttpConstants.HttpStatus BAD_GATEWAY
public static final HttpConstants.HttpStatus SERVICE_UNAVAILABLE
public static final HttpConstants.HttpStatus GATEWAY_TIMEOUT
public static final HttpConstants.HttpStatus HTTP_VERSION_NOT_SUPPORTED
public static HttpConstants.HttpStatus[] values()
for (HttpConstants.HttpStatus c : HttpConstants.HttpStatus.values()) System.out.println(c);
public static HttpConstants.HttpStatus 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 int getStatusCode()
public String getReasonPhrase()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.