パッケージ | 説明 |
---|---|
org.springframework.beans | このパッケージには、Java Bean を操作するためのインターフェースとクラスが含まれています。 |
org.springframework.validation | ビジネスや UI レイヤーで使用するためのデータバインディングおよび検証機能を提供します。 |
org.springframework.web.method.annotation | アノテーションベースのハンドラーメソッド処理のクラスをサポートします。 |
org.springframework.web.servlet.mvc.method.annotation | org.springframework.web.method.annotation パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。 |
org.springframework.web.servlet.mvc.support | MVC コントローラーのサポートパッケージ。 |
修飾子と型 | クラスと説明 |
---|---|
class | ConversionNotSupportedException Bean プロパティに適したエディターまたはコンバーターが見つからない場合にスローされる例外。 |
修飾子と型 | メソッドと説明 |
---|---|
ObjectSE | BeanWrapperImpl.convertForProperty(ObjectSE value, StringSE propertyName) 指定されたプロパティの指定された値を後者の型に変換します。 |
protected ObjectSE | AbstractNestablePropertyAccessor.convertForProperty(StringSE propertyName, ObjectSE oldValue, ObjectSE newValue, TypeDescriptor td) |
<T> T | TypeConverter.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType) 値を必要な型に変換します(必要に応じて、String から)。 |
<T> T | TypeConverterSupport.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType) |
<T> T | TypeConverter.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, FieldSE field) 値を必要な型に変換します(必要に応じて、String から)。 |
<T> T | TypeConverterSupport.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, FieldSE field) |
<T> T | TypeConverter.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, MethodParameter methodParam) 値を必要な型に変換します(必要に応じて、String から)。 |
<T> T | TypeConverterSupport.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, MethodParameter methodParam) |
default <T> T | TypeConverter.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, TypeDescriptor typeDescriptor) 値を必要な型に変換します(必要に応じて、String から)。 |
<T> T | TypeConverterSupport.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, TypeDescriptor typeDescriptor) |
修飾子と型 | メソッドと説明 |
---|---|
<T> T | DataBinder.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType) |
<T> T | DataBinder.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, FieldSE field) |
<T> T | DataBinder.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, MethodParameter methodParam) |
<T> T | DataBinder.convertIfNecessary(ObjectSE value, ClassSE<T> requiredType, TypeDescriptor typeDescriptor) |
修飾子と型 | クラスと説明 |
---|---|
class | MethodArgumentConversionNotSupportedException メソッド引数の解決中に ConversionNotSupportedException が発生しました。 |
class | MethodArgumentTypeMismatchException コントローラーメソッドの引数の解決中に TypeMismatchException が発生しました。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ResponseEntity<ObjectSE> | ResponseEntityExceptionHandler.handleTypeMismatch(TypeMismatchException ex, HttpHeaders headers, HttpStatus status, WebRequest request) TypeMismatchException のレスポンスをカスタマイズします。 |
修飾子と型 | メソッドと説明 |
---|---|
protected ModelAndView | DefaultHandlerExceptionResolver.handleTypeMismatch(TypeMismatchException ex, HttpServletRequestEE request, HttpServletResponseEE response, ObjectSE handler) WebDataBinder 変換エラーが発生した場合のケースを処理します。 |