public class HandshakeFailureException extends NestedRuntimeException
対照的に、ハンドシェイクネゴシエーションが失敗すると、レスポンスステータスコードは 200 になり、失敗の原因を反映するようにレスポンスヘッダーと本文が更新されます。HandshakeHandler 実装には、これらの場合のレスポンスに対する更新をカスタマイズするための protected メソッドがあります。
| コンストラクターと説明 |
|---|
HandshakeFailureException(StringSE message) |
HandshakeFailureException(StringSE message, ThrowableSE cause) |
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressedSE, fillInStackTraceSE, getCauseSE, getLocalizedMessageSE, getStackTraceSE, getSuppressedSE, initCauseSE, printStackTraceSE, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic HandshakeFailureException(StringSE message)
public HandshakeFailureException(StringSE message, ThrowableSE cause)