not allowed.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | NotAllowedException(String
allowed request method. allowed, String... more allowed request methods. moreAllowed)Construct a new method not allowed exception. |
| public | NotAllowedException(String
the detail message (which is saved for later retrieval
by the message, String getMessage() method).allowed request method. allowed, String... more allowed request methods. moreAllowed)Construct a new method not allowed exception. |
| public | |
| public | NotAllowedException(String
the detail message (which is saved for later retrieval
by the message, Response getMessage() method).error response. response)Construct a new method not allowed exception. |
| public | NotAllowedException(Throwable
the underlying cause of the exception. cause, String... allowed request methods. allowedMethods)Construct a new method not allowed exception. |
| public | NotAllowedException(String
the detail message (which is saved for later retrieval
by the message, Throwable getMessage() method).the underlying cause of the exception. cause, String... allowed request methods. allowedMethods)Construct a new method not allowed exception. |
| public | NotAllowedException(Response
error response. response, Throwable the underlying cause of the exception. cause)Construct a new method not allowed exception. |
| public | NotAllowedException(String
the detail message (which is saved for later retrieval
by the message, Response getMessage() method).error response. response, Throwable the underlying cause of the exception. cause)Construct a new method not allowed exception. |
| Modifier and Type | Method and Description |
|---|---|
| private static Response | |
| private static Response |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(String allowed, String... moreAllowed) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(String message, String allowed, String... moreAllowed) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(Response response) Construct a new method not allowed exception.
Note that this constructor does not validate the presence of HTTP
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(String message, Response response) Construct a new method not allowed exception.
Note that this constructor does not validate the presence of HTTP
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(Throwable cause, String... allowedMethods) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(String message, Throwable cause, String... allowedMethods) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(Response response, Throwable cause) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(String message, Response response, Throwable cause) Construct a new method not allowed exception.
| |
| createNotAllowedResponse | back to summary |
|---|---|
| private static Response createNotAllowedResponse(String allowed, String... moreAllowed) | |
| validateAllow | back to summary |
|---|---|
| private static Response validateAllow(final Response response) | |