インターフェースの使用
org.springframework.web.context.request.WebRequest
WebRequest を使用するパッケージ
パッケージ
説明
org.springframework.orm.hibernate5 パッケージをサポートするクラス。org.springframework.orm.jpa パッケージをサポートするクラス。Web データバインディングのサポートクラス。
一般的なリクエストコンテキストの保持、特に HTTP リクエストまたは HTTP セッションごとのアプリケーションオブジェクトのスコープのサポート。
非同期リクエスト処理のサポート。
アノテーションベースのハンドラーメソッド処理のクラスをサポートします。
カスタム実装の抽象基本クラスを含む、標準の HandlerMapping 実装を提供します。
org.springframework.web.method.annotation パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。org.springframework.orm.hibernate5.support 内の WebRequest 使用
型 WebRequest のパラメーターを持つ org.springframework.orm.hibernate5.support のメソッド修飾子と型メソッド説明voidOpenSessionInViewInterceptor.afterCompletion(WebRequest request, ExceptionSE ex) HibernateSessionをスレッドからバインド解除し、閉じます。voidOpenSessionInViewInterceptor.afterConcurrentHandlingStarted(WebRequest request) voidOpenSessionInViewInterceptor.postHandle(WebRequest request, ModelMap model) voidOpenSessionInViewInterceptor.preHandle(WebRequest request) 新しい HibernateSessionを開き、TransactionSynchronizationManagerを介してスレッドにバインドします。org.springframework.orm.jpa.support 内の WebRequest 使用
型 WebRequest のパラメーターを持つ org.springframework.orm.jpa.support のメソッド修飾子と型メソッド説明voidOpenEntityManagerInViewInterceptor.afterCompletion(WebRequest request, ExceptionSE ex) voidOpenEntityManagerInViewInterceptor.afterConcurrentHandlingStarted(WebRequest request) voidOpenEntityManagerInViewInterceptor.postHandle(WebRequest request, ModelMap model) voidOpenEntityManagerInViewInterceptor.preHandle(WebRequest request) org.springframework.web.bind.support 内の WebRequest 使用
型 WebRequest のパラメーターを持つ org.springframework.web.bind.support のメソッド修飾子と型メソッド説明voidWebRequestDataBinder.bind(WebRequest request) 指定されたリクエストのパラメーターをこのバインダーのターゲットにバインドし、マルチパートリクエストの場合はマルチパートファイルもバインドします。voidDefaultSessionAttributeStore.cleanupAttribute(WebRequest request, StringSE attributeName) voidSessionAttributeStore.cleanupAttribute(WebRequest request, StringSE attributeName) バックエンドセッションで指定された属性をクリーンアップします。protected StringSEDefaultSessionAttributeStore.getAttributeNameInSession(WebRequest request, StringSE attributeName) バックエンドセッションで属性名を計算します。DefaultSessionAttributeStore.retrieveAttribute(WebRequest request, StringSE attributeName) SessionAttributeStore.retrieveAttribute(WebRequest request, StringSE attributeName) バックエンドセッションから指定された属性を取得します。voidDefaultSessionAttributeStore.storeAttribute(WebRequest request, StringSE attributeName, ObjectSE attributeValue) voidSessionAttributeStore.storeAttribute(WebRequest request, StringSE attributeName, ObjectSE attributeValue) 指定された属性をバックエンドセッションに保存します。org.springframework.web.context.request 内の WebRequest 使用
org.springframework.web.context.request 内の WebRequest サブインターフェースWebRequest を実装している org.springframework.web.context.request のクラス修飾子と型クラス説明classJSFFacesContextEE のWebRequestアダプター。classHttpServletRequestEE 用のWebRequestアダプター。型 WebRequest のパラメーターを持つ org.springframework.web.context.request のメソッド修飾子と型メソッド説明voidWebRequestInterceptor.afterCompletion(WebRequest request, ExceptionSE ex) リクエスト処理の完了後、つまりビューのレンダリング後のコールバック。voidAsyncWebRequestInterceptor.afterConcurrentHandlingStarted(WebRequest request) ハンドラーがリクエストを同時に処理し始めたときに、postHandleおよびafterCompletionの代わりに呼び出されます。voidWebRequestInterceptor.postHandle(WebRequest request, ModelMap model) 呼び出しが成功した後、ビューのレンダリングの前に(もしあれば)リクエストハンドラーの実行をインターセプトします。voidWebRequestInterceptor.preHandle(WebRequest request) 呼び出しの前にリクエストハンドラーの実行をインターセプトします。org.springframework.web.context.request.async 内の WebRequest 使用
org.springframework.web.context.request.async 内の WebRequest サブインターフェースWebRequest を実装している org.springframework.web.context.request.async のクラス型 WebRequest のパラメーターを持つ org.springframework.web.context.request.async のメソッド修飾子と型メソッド説明static WebAsyncManagerWebAsyncUtils.getAsyncManager(WebRequest webRequest) 現在のリクエストのWebAsyncManagerを取得します。見つからない場合は、作成してリクエストに関連付けます。org.springframework.web.method.annotation 内の WebRequest 使用
型 WebRequest のパラメーターを持つ org.springframework.web.method.annotation のメソッド修飾子と型メソッド説明voidSessionAttributesHandler.cleanupAttributes(WebRequest request) セッションから「既知の」属性を削除します。SessionAttributesHandler.retrieveAttributes(WebRequest request) セッションから「既知の」属性、つまりvoidSessionAttributesHandler.storeAttributes(WebRequest request, MapSE<StringSE, ?> attributes) 指定された属性のサブセットをセッションに保存します。org.springframework.web.servlet.handler 内の WebRequest 使用
WebRequest を実装している org.springframework.web.servlet.handler のクラス修飾子と型クラス説明classorg.springframework.web.servlet.mvc.method.annotation 内の WebRequest 使用
型 WebRequest のパラメーターを持つ org.springframework.web.servlet.mvc.method.annotation のメソッド修飾子と型メソッド説明protected ProblemDetailResponseEntityExceptionHandler.createProblemDetail(ExceptionSE ex, HttpStatusCode status, StringSE defaultDetail, StringSE detailMessageCode, ObjectSE[] detailMessageArguments, WebRequest request) protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.createResponseEntity(ObjectSE body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) 指定された本文、ヘッダー、statusCode から使用するResponseEntityを作成します。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleAsyncRequestTimeoutException(AsyncRequestTimeoutException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) AsyncRequestTimeoutExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleBindException(BindException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleConversionNotSupported(ConversionNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) ConversionNotSupportedExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleErrorResponseException(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) ErrorResponseExceptionの処理をカスタマイズします。final ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleException(ExceptionSE ex, WebRequest request) リクエストの Spring MVC 処理内で発生したすべての例外を処理します。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleExceptionInternal(ExceptionSE ex, ObjectSE body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) 共通の処理とResponseEntityの作成のために、このクラスの他のすべてが委譲する内部ハンドラーメソッド。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMediaTypeNotAcceptableExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMediaTypeNotSupportedExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMessageNotReadableExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMessageNotWritableExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpRequestMethodNotSupportedExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleMethodArgumentNotValid(MethodArgumentNotValidException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MethodArgumentNotValidExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleMissingPathVariable(MissingPathVariableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MissingPathVariableExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleMissingServletRequestParameter(MissingServletRequestParameterException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MissingServletRequestParameterExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleMissingServletRequestPart(MissingServletRequestPartException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MissingServletRequestPartExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleNoHandlerFoundException(NoHandlerFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) NoHandlerFoundExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleServletRequestBindingException(ServletRequestBindingException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) ServletRequestBindingExceptionの処理をカスタマイズします。protected ResponseEntity<ObjectSE>ResponseEntityExceptionHandler.handleTypeMismatch(TypeMismatchException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) TypeMismatchExceptionの処理をカスタマイズします。
ModelAttributeMethodProcessorがMethodArgumentNotValidExceptionのサブクラスを発生させるようになったため。