Java org.springframework.web HttpRequestMethodNotSupportedException fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web HttpRequestMethodNotSupportedException fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web HttpRequestMethodNotSupportedException.

The text is from its open source code.

Constructor

HttpRequestMethodNotSupportedException(String method)
Create a new HttpRequestMethodNotSupportedException.
HttpRequestMethodNotSupportedException(String method, String msg)
Create a new HttpRequestMethodNotSupportedException.
HttpRequestMethodNotSupportedException(String method, @Nullable Collection supportedMethods)
Create a new HttpRequestMethodNotSupportedException.
HttpRequestMethodNotSupportedException(String method, @Nullable String[] supportedMethods)
Create a new HttpRequestMethodNotSupportedException.

Method

ClassgetClass()
Returns the runtime class of this Object .
StringgetMessage()
Returns the detail message string of this throwable.
StringgetMethod()
Return the HTTP request method that caused the failure.
SetgetSupportedHttpMethods()
Return the actually supported HTTP methods as HttpMethod instances, or null if not known.
String[]getSupportedMethods()
Return the actually supported HTTP methods, or null if not known.
voidprintStackTrace()
Prints this throwable and its backtrace to the standard error stream.