| Modifier and Type | Field and Description |
|---|---|
| private final ProblemDetail | |
| private final String | |
| private final String[] |
| Access | Constructor and Description |
|---|---|
| public | HttpRequestMethodNotSupportedException(String
the unsupported HTTP request method method)Create a new |
| public | HttpRequestMethodNotSupportedException(String
the unsupported HTTP request method method, Collection<String> the actually supported HTTP methods (possibly supportedMethods)null)Create a new |
| private | HttpRequestMethodNotSupportedException(String
the unsupported HTTP request method method, String[] the actually supported HTTP methods (possibly supportedMethods)null)Create a new |
| Modifier and Type | Method and Description |
|---|---|
| public ProblemDetail | getBody()
Implements org. Return the body for the response, formatted as an RFC 7807
|
| public Object[] | getDetailMessageArguments()
Overrides default org. Return arguments to use along with a |
| public HttpHeaders | getHeaders()
Overrides default org. Return headers to use for the response. |
| public String | |
| public HttpStatusCode | getStatusCode()
Implements org. Return the HTTP status code to use for the response. |
| public Set | getSupportedHttpMethods()
Return the actually supported HTTP methods as |
| public String[] |
| body | back to summary |
|---|---|
| private final ProblemDetail body | |
| method | back to summary |
|---|---|
| private final String method | |
| supportedMethods | back to summary |
|---|---|
| private final String[] supportedMethods
| |
| HttpRequestMethodNotSupportedException | back to summary |
|---|---|
| public HttpRequestMethodNotSupportedException(String method) Create a new
| |
| HttpRequestMethodNotSupportedException | back to summary |
|---|---|
| public HttpRequestMethodNotSupportedException(String method, Collection<String> supportedMethods) Create a new
| |
| HttpRequestMethodNotSupportedException | back to summary |
|---|---|
| private HttpRequestMethodNotSupportedException(String method, String[] supportedMethods) Create a new | |
| getBody | back to summary |
|---|---|
| public ProblemDetail getBody() Implements org. Doc from org. Return the body for the response, formatted as an RFC 7807
| |
| getDetailMessageArguments | back to summary |
|---|---|
| public Object[] getDetailMessageArguments() Overrides default org. Doc from org. Return arguments to use along with a
| |
| getHeaders | back to summary |
|---|---|
| public HttpHeaders getHeaders() Overrides default org. Doc from org. Return headers to use for the response.
| |
| getMethod | back to summary |
|---|---|
| public String getMethod() Return the HTTP request method that caused the failure. | |
| getStatusCode | back to summary |
|---|---|
| public HttpStatusCode getStatusCode() Implements org. Doc from org. Return the HTTP status code to use for the response.
| |
| getSupportedHttpMethods | back to summary |
|---|---|
| public Set Return the actually supported HTTP methods as
| |
| getSupportedMethods | back to summary |
|---|---|
| public String[] getSupportedMethods() Return the actually supported HTTP methods, or
| |