public class MethodNotAllowedException extends ResponseStatusException
| コンストラクターと説明 |
|---|
MethodNotAllowedException(HttpMethod method, CollectionSE<HttpMethod> supportedMethods) |
MethodNotAllowedException(StringSE method, CollectionSE<HttpMethod> supportedMethods) |
| 修飾子と型 | メソッドと説明 |
|---|---|
MapSE<StringSE, StringSE> | getHeaders()「許可」ヘッダーのあるマップを返します。 |
StringSE | getHttpMethod() 失敗したリクエストの HTTP メソッドを返します。 |
HttpHeaders | getResponseHeaders()「許可」ヘッダー付きの HttpHeaders を返します。 |
SetSE<HttpMethod> | getSupportedMethods() サポートされている HTTP メソッドのリストを返します。 |
getMessage, getRawStatusCode, getReason, getStatuscontains, getMostSpecificCause, getRootCauseaddSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic MethodNotAllowedException(HttpMethod method, CollectionSE<HttpMethod> supportedMethods)
public MethodNotAllowedException(StringSE method, @Nullable CollectionSE<HttpMethod> supportedMethods)
public MapSE<StringSE,StringSE> getHeaders()
ResponseStatusException の getHeaders public HttpHeaders getResponseHeaders()
ResponseStatusException の getResponseHeaders public StringSE getHttpMethod()
public SetSE<HttpMethod> getSupportedMethods()