open class MethodNotAllowedException : ResponseStatusException
Exception for errors that fit response status 405 (method not allowed).
Author
Rossen Stoyanchev
Since
5.0
MethodNotAllowedException(method: HttpMethod, supportedMethods: MutableCollection<HttpMethod>)MethodNotAllowedException(method: String, supportedMethods: MutableCollection<HttpMethod>) |
open fun getHttpMethod(): String
Return the HTTP method for the failed request. |
|
open fun getSupportedMethods(): MutableSet<HttpMethod>
Return the list of supported HTTP methods. |