クラス MissingRequestCookieException
java.lang.ObjectSE
java.lang.ThrowableSE
java.lang.ExceptionSE
jakarta.servlet.ServletException
org.springframework.web.bind.ServletRequestBindingException
org.springframework.web.bind.MissingRequestValueException
org.springframework.web.bind.MissingRequestCookieException
- 実装されているすべてのインターフェース:
SerializableSE,ErrorResponse
@RequestMapping メソッドのメソッドパラメーターで予期されるリクエスト Cookie が存在しないことを示す ServletRequestBindingException サブクラス。- 導入:
- 5.1
- 作成者:
- Juergen Hoeller
- 関連事項:
ネストされたクラスの要約
インターフェース org.springframework.web.ErrorResponse から継承されたネストクラス / インターフェース
ErrorResponse.Builder, ErrorResponse.Interceptorコンストラクターの概要
コンストラクターコンストラクター説明MissingRequestCookieException(StringSE cookieName, MethodParameter parameter) MissingRequestCookieException のコンストラクター。MissingRequestCookieException(StringSE cookieName, MethodParameter parameter, boolean missingAfterConversion) 値が存在するがnullに変換される場合に使用するコンストラクター。メソッドのサマリー
修飾子と型メソッド説明final StringSEリクエスト Cookie の予想される名前を返します。final MethodParameterリクエスト Cookie にバインドされたメソッドパラメーターを返します。クラス org.springframework.web.bind.MissingRequestValueException から継承されたメソッド
isMissingAfterConversionクラス org.springframework.web.bind.ServletRequestBindingException から継承されたメソッド
getBody, getDetailMessageArguments, getDetailMessageCode, getStatusCodeクラス jakarta.servlet.ServletExceptionEE から継承されたメソッド
getRootCauseEEクラス java.lang.ThrowableSE から継承されたメソッド
addSuppressedSE, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCauseSE, printStackTrace, printStackTraceSE, printStackTraceSE, setStackTraceSE, toStringクラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSEインターフェース org.springframework.web.ErrorResponse から継承されたメソッド
getDetailMessageArguments, getHeaders, getTitleMessageCode, getTypeMessageCode, updateAndGetBody
コンストラクターの詳細
MissingRequestCookieException
MissingRequestCookieException のコンストラクター。- パラメーター:
cookieName- 欠落しているリクエスト Cookie の名前parameter- メソッドパラメーター
MissingRequestCookieException
public MissingRequestCookieException(StringSE cookieName, MethodParameter parameter, boolean missingAfterConversion) 値が存在するがnullに変換される場合に使用するコンストラクター。- パラメーター:
cookieName- 欠落しているリクエスト Cookie の名前parameter- メソッドパラメーターmissingAfterConversion- 変換後に値が null になったのかどうか- 導入:
- 5.3.6
メソッドの詳細
getMessage
- オーバーライド:
- クラス
ThrowableSEのgetMessage
getCookieName
リクエスト Cookie の予想される名前を返します。getParameter
リクエスト Cookie にバインドされたメソッドパラメーターを返します。