public enum LensHttpStatus extends Enum<LensHttpStatus> implements javax.ws.rs.core.Response.StatusType
Enum Constant and Description |
---|
TOO_MANY_REQUESTS |
Modifier and Type | Method and Description |
---|---|
static javax.ws.rs.core.Response.Status.Family |
familyOf(int statusCode) |
static javax.ws.rs.core.Response.StatusType |
fromStatusCode(int statusCode) |
javax.ws.rs.core.Response.Status.Family |
getFamily() |
String |
getReasonPhrase() |
int |
getStatusCode() |
String |
toString() |
static LensHttpStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LensHttpStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LensHttpStatus TOO_MANY_REQUESTS
public static LensHttpStatus[] values()
for (LensHttpStatus c : LensHttpStatus.values()) System.out.println(c);
public static LensHttpStatus 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 toString()
toString
in class Enum<LensHttpStatus>
public static javax.ws.rs.core.Response.StatusType fromStatusCode(int statusCode)
public static javax.ws.rs.core.Response.Status.Family familyOf(int statusCode)
@Generated(value="lombok") public int getStatusCode()
getStatusCode
in interface javax.ws.rs.core.Response.StatusType
@Generated(value="lombok") public String getReasonPhrase()
getReasonPhrase
in interface javax.ws.rs.core.Response.StatusType
@Generated(value="lombok") public javax.ws.rs.core.Response.Status.Family getFamily()
getFamily
in interface javax.ws.rs.core.Response.StatusType
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.