Class MethodNotAllowed

All Implemented Interfaces:
Serializable, HttpMessage, HttpResponse

@Response @StatusCode(405) @Schema(description="Method Not Allowed") public class MethodNotAllowed extends BasicHttpException
Exception representing an HTTP 405 (Method Not Allowed).

A request method is not supported for the requested resource; for example, a GET request on a form that requires data to be presented via POST, or a PUT request on a read-only resource.

See Also: