not allowed.
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | NotAllowedException(final String
allowed request method. allowed, final String... more allowed request methods. moreAllowed)Construct a new method not allowed exception. |
| public | NotAllowedException(final String
the detail message (which is saved for later retrieval by the message, final String getMessage() method).allowed request method. allowed, final String... more allowed request methods. moreAllowed)Construct a new method not allowed exception. |
| public | NotAllowedException(final Response
error response. response)Construct a new method not allowed exception. |
| public | NotAllowedException(final String
the detail message (which is saved for later retrieval by the message, final Response getMessage() method).error response. response)Construct a new method not allowed exception. |
| public | NotAllowedException(final Throwable
the underlying cause of the exception. cause, final String... allowed request methods. allowedMethods)Construct a new method not allowed exception. |
| public | NotAllowedException(final String
the detail message (which is saved for later retrieval by the message, final Throwable getMessage() method).the underlying cause of the exception. cause, final String... allowed request methods. allowedMethods)Construct a new method not allowed exception. |
| public | NotAllowedException(final Response
error response. response, final Throwable the underlying cause of the exception. cause)Construct a new method not allowed exception. |
| public | NotAllowedException(final String
the detail message (which is saved for later retrieval by the message, final Response getMessage() method).error response. response, final 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(final String allowed, final String... moreAllowed) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(final String message, final String allowed, final String... moreAllowed) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(final 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(final String message, final 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(final Throwable cause, final String... allowedMethods) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(final String message, final Throwable cause, final String... allowedMethods) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(final Response response, final Throwable cause) Construct a new method not allowed exception.
| |
| NotAllowedException | back to summary |
|---|---|
| public NotAllowedException(final String message, final Response response, final Throwable cause) Construct a new method not allowed exception.
| |
| createNotAllowedResponse | back to summary |
|---|---|
| private static Response createNotAllowedResponse(final String allowed, final String... moreAllowed) | |
| validateAllow | back to summary |
|---|---|
| private static Response validateAllow(final Response response) | |