public static enum ExceptionConverter.AdditionalStatus extends Enum<ExceptionConverter.AdditionalStatus> implements javax.ws.rs.core.Response.StatusType
Response.StatusTypes for HTTP response codes not supported directly by Response.Status.| Enum Constant and Description |
|---|
READ_ONLY_MODE_ENABLED |
REQUEST_TOO_LONG |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response.Status.Family |
getFamily()
Get the class of status code
|
String |
getReasonPhrase()
Get the reason phrase
|
int |
getStatusCode()
Get the associated status code
|
String |
toString()
Get the reason phrase
|
static ExceptionConverter.AdditionalStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExceptionConverter.AdditionalStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExceptionConverter.AdditionalStatus READ_ONLY_MODE_ENABLED
public static final ExceptionConverter.AdditionalStatus REQUEST_TOO_LONG
public static ExceptionConverter.AdditionalStatus[] values()
for (ExceptionConverter.AdditionalStatus c : ExceptionConverter.AdditionalStatus.values()) System.out.println(c);
public static ExceptionConverter.AdditionalStatus 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 javax.ws.rs.core.Response.Status.Family getFamily()
getFamily in interface javax.ws.rs.core.Response.StatusTypepublic int getStatusCode()
getStatusCode in interface javax.ws.rs.core.Response.StatusTypepublic String getReasonPhrase()
getReasonPhrase in interface javax.ws.rs.core.Response.StatusTypepublic String toString()
toString in class Enum<ExceptionConverter.AdditionalStatus>Copyright © 2003–2022 Atlassian. All rights reserved.