public class HttpRequestMethodNotSupportedException extends ServletExceptionEE
| コンストラクターと説明 |
|---|
HttpRequestMethodNotSupportedException(StringSE method) 新しい HttpRequestMethodNotSupportedException を作成します。 |
HttpRequestMethodNotSupportedException(StringSE method, CollectionSE<StringSE> supportedMethods) 新しい HttpRequestMethodNotSupportedException を作成します。 |
HttpRequestMethodNotSupportedException(StringSE method, StringSE msg) 新しい HttpRequestMethodNotSupportedException を作成します。 |
HttpRequestMethodNotSupportedException(StringSE method, StringSE[] supportedMethods) 新しい HttpRequestMethodNotSupportedException を作成します。 |
HttpRequestMethodNotSupportedException(StringSE method, StringSE[] supportedMethods, StringSE msg) 新しい HttpRequestMethodNotSupportedException を作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
StringSE | getMethod() 失敗の原因となった HTTP リクエストメソッドを返します。 |
SetSE<HttpMethod> | getSupportedHttpMethods() 実際にサポートされている HTTP メソッドを HttpMethod インスタンス、または不明の場合は null として返します。 |
StringSE[] | getSupportedMethods() 実際にサポートされている HTTP メソッド、または不明な場合は null を返します。 |
getRootCauseEEaddSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic HttpRequestMethodNotSupportedException(StringSE method)
method - サポートされていない HTTP リクエストメソッド public HttpRequestMethodNotSupportedException(StringSE method, StringSE msg)
method - サポートされていない HTTP リクエストメソッド msg - 詳細メッセージ public HttpRequestMethodNotSupportedException(StringSE method, @Nullable CollectionSE<StringSE> supportedMethods)
method - サポートされていない HTTP リクエストメソッド supportedMethods - 実際にサポートされている HTTP メソッド (null の場合があります)public HttpRequestMethodNotSupportedException(StringSE method, @Nullable StringSE[] supportedMethods)
method - サポートされていない HTTP リクエストメソッド supportedMethods - 実際にサポートされている HTTP メソッド (null の場合があります)public HttpRequestMethodNotSupportedException(StringSE method, @Nullable StringSE[] supportedMethods, StringSE msg)
method - サポートされていない HTTP リクエストメソッド supportedMethods - 実際にサポートされている HTTP メソッド msg - 詳細メッセージ public StringSE getMethod()
@Nullable public StringSE[] getSupportedMethods()
null を返します。@Nullable public SetSE<HttpMethod> getSupportedHttpMethods()
HttpMethod インスタンス、または不明の場合は null として返します。