open class HttpRequestMethodNotSupportedException : ServletException
Exception thrown when a request handler does not support a specific request method.
Author
Juergen Hoeller
Since
2.0
HttpRequestMethodNotSupportedException(method: String)HttpRequestMethodNotSupportedException(method: String, msg: String)HttpRequestMethodNotSupportedException(method: String, supportedMethods: MutableCollection<String>)HttpRequestMethodNotSupportedException(method: String, supportedMethods: Array<String>)HttpRequestMethodNotSupportedException(method: String, supportedMethods: Array<String>, msg: String)
Create a new HttpRequestMethodNotSupportedException. |
open fun getMethod(): String
Return the HTTP request method that caused the failure. |
|
open fun getSupportedHttpMethods(): MutableSet<HttpMethod>
Return the actually supported HTTP methods as HttpMethod instances, or |
|
open fun getSupportedMethods(): Array<String>
Return the actually supported HTTP methods, or |