spring-framework / org.springframework.web / HttpRequestMethodNotSupportedException / <init>

<init>

HttpRequestMethodNotSupportedException(method: String)

Create a new HttpRequestMethodNotSupportedException.

Parameters

method - the unsupported HTTP request method

HttpRequestMethodNotSupportedException(method: String, msg: String)

Create a new HttpRequestMethodNotSupportedException.

Parameters

method - the unsupported HTTP request method

msg - the detail message

HttpRequestMethodNotSupportedException(method: String, @Nullable supportedMethods: MutableCollection<String>)
HttpRequestMethodNotSupportedException(method: String, @Nullable supportedMethods: Array<String>)

Create a new HttpRequestMethodNotSupportedException.

Parameters

method - the unsupported HTTP request method

supportedMethods - the actually supported HTTP methods (may be null)

HttpRequestMethodNotSupportedException(method: String, @Nullable supportedMethods: Array<String>, msg: String)

Create a new HttpRequestMethodNotSupportedException.

Parameters

method - the unsupported HTTP request method

supportedMethods - the actually supported HTTP methods

msg - the detail message