public class MethodNotAllowedException extends ResponseStatusException
コンストラクターと説明 |
---|
MethodNotAllowedException(HttpMethod method, CollectionSE<HttpMethod> supportedMethods) |
MethodNotAllowedException(StringSE method, CollectionSE<HttpMethod> supportedMethods) |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | getHttpMethod() 失敗したリクエストの HTTP メソッドを返します。 |
SetSE<HttpMethod> | getSupportedMethods() サポートされている HTTP メソッドのリストを返します。 |
getMessage, getReason, getStatus
contains, getMostSpecificCause, getRootCause
addSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public MethodNotAllowedException(HttpMethod method, CollectionSE<HttpMethod> supportedMethods)
public MethodNotAllowedException(StringSE method, @Nullable CollectionSE<HttpMethod> supportedMethods)
public StringSE getHttpMethod()
public SetSE<HttpMethod> getSupportedMethods()