| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | javax.servlet.ServletException | |||
| ↳ | org.springframework.web.HttpRequestMethodNotSupportedException | |||
Exception thrown when a request handler does not support a specific request method.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new HttpRequestMethodNotSupportedException.
| |||||||||||
Create a new HttpRequestMethodNotSupportedException.
| |||||||||||
Create a new HttpRequestMethodNotSupportedException.
| |||||||||||
Create a new HttpRequestMethodNotSupportedException.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the HTTP request method that caused the failure.
| |||||||||||
Return the actually supported HTTP methods, if known.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.servlet.ServletException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
Create a new HttpRequestMethodNotSupportedException.
| method | the unsupported HTTP request method |
|---|
Create a new HttpRequestMethodNotSupportedException.
| method | the unsupported HTTP request method |
|---|---|
| supportedMethods | the actually supported HTTP methods |
Create a new HttpRequestMethodNotSupportedException.
| method | the unsupported HTTP request method |
|---|---|
| msg | the detail message |
Create a new HttpRequestMethodNotSupportedException.
| method | the unsupported HTTP request method |
|---|---|
| supportedMethods | the actually supported HTTP methods |
| msg | the detail message |