public class CustomStatusType extends Object implements javax.ws.rs.core.Response.StatusType
| Modifier and Type | Field and Description |
|---|---|
static javax.ws.rs.core.Response.StatusType |
TOO_MANY |
static javax.ws.rs.core.Response.StatusType |
UNPROCESSABLE |
| Constructor and Description |
|---|
CustomStatusType(int code,
String reason) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response.Status.Family |
getFamily() |
String |
getReasonPhrase() |
int |
getStatusCode() |
public static javax.ws.rs.core.Response.StatusType UNPROCESSABLE
public static javax.ws.rs.core.Response.StatusType TOO_MANY
public CustomStatusType(int code,
String reason)
public int getStatusCode()
getStatusCode in interface javax.ws.rs.core.Response.StatusTypepublic javax.ws.rs.core.Response.Status.Family getFamily()
getFamily in interface javax.ws.rs.core.Response.StatusTypepublic String getReasonPhrase()
getReasonPhrase in interface javax.ws.rs.core.Response.StatusTypeCopyright © 2002–2015 The Neo4j Graph Database Project. All rights reserved.