public class NotAllowedException extends ClientErrorException
not allowed であるリソースメソッドをリクエストしているクライアントを示す実行時例外。| コンストラクターと説明 |
|---|
NotAllowedException(Response response) 例外を許可しない新しいメソッドを作成します。 |
NotAllowedException(Response response, ThrowableSE cause) 例外を許可しない新しいメソッドを作成します。 |
NotAllowedException(StringSE message, Response response) 例外を許可しない新しいメソッドを作成します。 |
NotAllowedException(StringSE message, Response response, ThrowableSE cause) 例外を許可しない新しいメソッドを作成します。 |
NotAllowedException(StringSE allowed, StringSE... moreAllowed) 例外を許可しない新しいメソッドを作成します。 |
NotAllowedException(StringSE message, StringSE allowed, StringSE... moreAllowed) 例外を許可しない新しいメソッドを作成します。 |
NotAllowedException(StringSE message, ThrowableSE cause, StringSE... allowedMethods) 例外を許可しない新しいメソッドを作成します。 |
NotAllowedException(ThrowableSE cause, StringSE... allowedMethods) 例外を許可しない新しいメソッドを作成します。 |
getResponseaddSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic NotAllowedException(StringSE allowed, StringSE... moreAllowed)
allowed - 許可されたリクエストメソッド。moreAllowed - より多くの許可されたリクエストメソッド。NullPointerExceptionSE - 許可されるメソッドが null の場合。public NotAllowedException(StringSE message, StringSE allowed, StringSE... moreAllowed)
message - 詳細メッセージ(Throwable.getMessage()SE メソッドによる後の検索のために保存されます)。allowed - 許可されたリクエストメソッド。moreAllowed - より多くの許可されたリクエストメソッド。NullPointerExceptionSE - 許可されるメソッドが null の場合。public NotAllowedException(Response response)
このコンストラクターは HTTP Allow ヘッダーの存在を検証しないことに注意してください。つまりサーバーから返された無効な HTTP 405 レスポンスコンテンツの場合でも、コンストラクターを使用してクライアント側の例外インスタンスを作成することが可能です。
response - エラーレスポンス。IllegalArgumentExceptionSE - レスポンスで設定されたステータスコードが HTTP 405 ではない場合。public NotAllowedException(StringSE message, Response response)
このコンストラクターは HTTP Allow ヘッダーの存在を検証しないことに注意してください。つまりサーバーから返された無効な HTTP 405 レスポンスコンテンツの場合でも、コンストラクターを使用してクライアント側の例外インスタンスを作成することが可能です。
message - 詳細メッセージ(Throwable.getMessage()SE メソッドによる後の検索のために保存されます)。response - エラーレスポンス。IllegalArgumentExceptionSE - レスポンスで設定されたステータスコードが HTTP 405 ではない場合。public NotAllowedException(ThrowableSE cause, StringSE... allowedMethods)
cause - 例外の根本的な原因。allowedMethods - 許可されたリクエストメソッド。IllegalArgumentExceptionSE - 許可されるメソッド varargs が null の場合。public NotAllowedException(StringSE message, ThrowableSE cause, StringSE... allowedMethods)
message - 詳細メッセージ(Throwable.getMessage()SE メソッドによる後の検索のために保存されます)。cause - 例外の根本的な原因。allowedMethods - 許可されたリクエストメソッド。IllegalArgumentExceptionSE - 許可されるメソッド varargs が null の場合。public NotAllowedException(Response response, ThrowableSE cause)
response - エラーレスポンス。cause - 例外の根本的な原因。IllegalArgumentExceptionSE - レスポンスに設定されたステータスコードが HTTP 405 でないか、HTTP Allow ヘッダーが含まれていない場合。public NotAllowedException(StringSE message, Response response, ThrowableSE cause)
message - 詳細メッセージ(Throwable.getMessage()SE メソッドによる後の検索のために保存されます)。response - エラーレスポンス。cause - 例外の根本的な原因。IllegalArgumentExceptionSE - レスポンスに設定されたステータスコードが HTTP 405 でないか、HTTP Allow ヘッダーが含まれていない場合。Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.