クラスの使用
org.springframework.web.bind.MissingPathVariableException
MissingPathVariableException を使用するパッケージ
パッケージ
説明
org.springframework.web.method.annotation パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。MVC コントローラーのサポートパッケージ。
org.springframework.web.servlet.mvc.method.annotation 内の MissingPathVariableException 使用
型 MissingPathVariableException のパラメーターを持つ org.springframework.web.servlet.mvc.method.annotation のメソッド修飾子と型メソッド説明protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleMissingPathVariable(MissingPathVariableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MissingPathVariableExceptionの処理をカスタマイズします。org.springframework.web.servlet.mvc.support 内の MissingPathVariableException 使用
型 MissingPathVariableException のパラメーターを持つ org.springframework.web.servlet.mvc.support のメソッド修飾子と型メソッド説明protected @Nullable ModelAndViewDefaultHandlerExceptionResolver.handleMissingPathVariable(MissingPathVariableException ex, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, @Nullable ObjectSE handler) 宣言されたパス変数が抽出されたどの URI 変数とも一致しない場合のケースを処理します。