パッケージ | 説明 |
---|---|
org.springframework.validation | ビジネスや UI レイヤーで使用するためのデータバインディングおよび検証機能を提供します。 |
org.springframework.web.bind | Web 固有のデータバインディング機能を提供します。 |
org.springframework.web.bind.support | Web データバインディングのサポートクラス。 |
org.springframework.web.servlet.mvc.method.annotation | org.springframework.web.method.annotation パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。 |
org.springframework.web.servlet.mvc.support | MVC コントローラーのサポートパッケージ。 |
修飾子と型 | メソッドと説明 |
---|---|
MapSE<?,?> | DataBinder.close() この DataBinder を閉じると、エラーが発生した場合に BindException がスローされる可能性があります。 |
修飾子と型 | クラスと説明 |
---|---|
class | MethodArgumentNotValidException @Valid アノテーションが付けられた引数の検証が失敗した場合にスローされる例外。 |
修飾子と型 | メソッドと説明 |
---|---|
void | WebRequestDataBinder.closeNoCatch() エラーを致命的として扱います。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ResponseEntity<ObjectSE> | ResponseEntityExceptionHandler.handleBindException(BindException ex, HttpHeaders headers, HttpStatus status, WebRequest request) BindException のレスポンスをカスタマイズします。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ModelAndView | DefaultHandlerExceptionResolver.handleBindException(BindException ex, HttpServletRequestEE request, HttpServletResponseEE response, ObjectSE handler) @ModelAttribute メソッド引数にバインディングエラーまたは検証エラーがあり、その後に型 BindingResult の別のメソッド引数が続かないケースを処理します。 |