public class MethodNotAllowedException extends StatusCodeException
getAllow()
contains the supported
HTTP methods.Constructor and Description |
---|
MethodNotAllowedException(String method,
List<String> allow)
Creates a new method not allowed exception.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllow()
Allow methods.
|
String |
getMethod()
Requested method.
|
getStatusCode
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2020. All rights reserved.