Class MethodNotAllowed

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.BasicRuntimeException
org.apache.juneau.http.response.BasicHttpException
org.apache.juneau.http.response.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: