インターフェースの使用
org.springframework.web.context.request.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 使用
修飾子と型メソッド説明void
OpenSessionInViewInterceptor.afterCompletion
(WebRequest request, ExceptionSE ex) HibernateSession
をスレッドからバインド解除し、閉じます。void
OpenSessionInViewInterceptor.afterConcurrentHandlingStarted
(WebRequest request) void
OpenSessionInViewInterceptor.postHandle
(WebRequest request, ModelMap model) void
OpenSessionInViewInterceptor.preHandle
(WebRequest request) 新しい HibernateSession
を開き、TransactionSynchronizationManager
を介してスレッドにバインドします。org.springframework.orm.jpa.support 内の WebRequest 使用
修飾子と型メソッド説明void
OpenEntityManagerInViewInterceptor.afterCompletion
(WebRequest request, ExceptionSE ex) void
OpenEntityManagerInViewInterceptor.afterConcurrentHandlingStarted
(WebRequest request) void
OpenEntityManagerInViewInterceptor.postHandle
(WebRequest request, ModelMap model) void
OpenEntityManagerInViewInterceptor.preHandle
(WebRequest request) org.springframework.web.bind.support 内の WebRequest 使用
修飾子と型メソッド説明void
WebRequestDataBinder.bind
(WebRequest request) 指定されたリクエストのパラメーターをこのバインダーのターゲットにバインドし、マルチパートリクエストの場合はマルチパートファイルもバインドします。void
DefaultSessionAttributeStore.cleanupAttribute
(WebRequest request, StringSE attributeName) void
SessionAttributeStore.cleanupAttribute
(WebRequest request, StringSE attributeName) バックエンドセッションで指定された属性をクリーンアップします。protected StringSE
DefaultSessionAttributeStore.getAttributeNameInSession
(WebRequest request, StringSE attributeName) バックエンドセッションで属性名を計算します。DefaultSessionAttributeStore.retrieveAttribute
(WebRequest request, StringSE attributeName) SessionAttributeStore.retrieveAttribute
(WebRequest request, StringSE attributeName) バックエンドセッションから指定された属性を取得します。void
DefaultSessionAttributeStore.storeAttribute
(WebRequest request, StringSE attributeName, ObjectSE attributeValue) void
SessionAttributeStore.storeAttribute
(WebRequest request, StringSE attributeName, ObjectSE attributeValue) 指定された属性をバックエンドセッションに保存します。org.springframework.web.context.request 内の WebRequest 使用
修飾子と型クラス説明class
JSFFacesContext
EE のWebRequest
アダプター。class
HttpServletRequest
EE 用のWebRequest
アダプター。修飾子と型メソッド説明void
WebRequestInterceptor.afterCompletion
(WebRequest request, ExceptionSE ex) リクエスト処理の補完後、つまりビューのレンダリング後のコールバック。void
AsyncWebRequestInterceptor.afterConcurrentHandlingStarted
(WebRequest request) ハンドラーがリクエストを同時に処理し始めたときに、postHandle
およびafterCompletion
の代わりに呼び出されます。void
WebRequestInterceptor.postHandle
(WebRequest request, ModelMap model) 呼び出しが成功した後、ビューのレンダリングの前に(もしあれば)リクエストハンドラーの実行をインターセプトします。void
WebRequestInterceptor.preHandle
(WebRequest request) 呼び出しの前にリクエストハンドラーの実行をインターセプトします。org.springframework.web.context.request.async 内の WebRequest 使用
修飾子と型メソッド説明static WebAsyncManager
WebAsyncUtils.getAsyncManager
(WebRequest webRequest) 現在のリクエストのWebAsyncManager
を取得します。見つからない場合は、作成してリクエストに関連付けます。org.springframework.web.method.annotation 内の WebRequest 使用
修飾子と型メソッド説明void
SessionAttributesHandler.cleanupAttributes
(WebRequest request) セッションから「既知の」属性を削除します。SessionAttributesHandler.retrieveAttributes
(WebRequest request) セッションから「既知の」属性、つまりvoid
SessionAttributesHandler.storeAttributes
(WebRequest request, MapSE<StringSE, ?> attributes) 指定された属性のサブセットをセッションに保存します。org.springframework.web.servlet.handler 内の WebRequest 使用
修飾子と型クラス説明class
org.springframework.web.servlet.mvc.method.annotation 内の WebRequest 使用
修飾子と型メソッド説明protected ProblemDetail
ResponseEntityExceptionHandler.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
のサブクラスを発生させるようになったため。