public class HandshakeFailureException extends NestedRuntimeException
対照的に、ハンドシェイクネゴシエーションが失敗すると、レスポンスステータスコードは 200 になり、失敗の原因を反映するようにレスポンスヘッダーと本文が更新されます。HandshakeHandler
実装には、これらの場合のレスポンスに対する更新をカスタマイズするための protected メソッドがあります。
コンストラクターと説明 |
---|
HandshakeFailureException(StringSE message) |
HandshakeFailureException(StringSE message, ThrowableSE cause) |
contains, getMessage, 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 HandshakeFailureException(StringSE message)
public HandshakeFailureException(StringSE message, ThrowableSE cause)