インターフェースの使用
org.springframework.web.context.request.WebRequest
WebRequest を使用するパッケージ
パッケージ
説明
org.springframework.orm.jpa パッケージをサポートするクラス。Web データバインディングのサポートクラス。
一般的なリクエストコンテキストの保持、特に HTTP リクエストまたは HTTP セッションごとのアプリケーションオブジェクトのスコープのサポート。
非同期リクエスト処理のサポート。
アノテーションベースのハンドラーメソッド処理のクラスをサポートします。
カスタム実装の抽象基本クラスを含む、標準の HandlerMapping 実装を提供します。
org.springframework.web.method.annotation パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。org.springframework.orm.jpa.support 内の WebRequest 使用
型 WebRequest のパラメーターを持つ org.springframework.orm.jpa.support のメソッド修飾子と型メソッド説明voidOpenEntityManagerInViewInterceptor.afterCompletion(WebRequest request, @Nullable ExceptionSE ex) voidOpenEntityManagerInViewInterceptor.afterConcurrentHandlingStarted(WebRequest request) voidOpenEntityManagerInViewInterceptor.postHandle(WebRequest request, @Nullable 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) バックエンドセッションで指定された属性をクリーンアップします。voidWebRequestDataBinder.construct(WebRequest request) デフォルトまたは単一のデータコンストラクターを使用して、リクエストパラメーター、マルチパートファイル、またはパーツをコンストラクター引数にバインドすることでターゲットを作成します。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 のクラス修飾子と型クラス説明classJSFFacesContext用のWebRequestアダプター。classHttpServletRequest用のWebRequestアダプター。型 WebRequest のパラメーターを持つ org.springframework.web.context.request のメソッド修飾子と型メソッド説明voidWebRequestInterceptor.afterCompletion(WebRequest request, @Nullable ExceptionSE ex) リクエスト処理の完了後、つまりビューのレンダリング後のコールバック。voidAsyncWebRequestInterceptor.afterConcurrentHandlingStarted(WebRequest request) ハンドラーがリクエストを同時に処理し始めたときに、postHandleおよびafterCompletionの代わりに呼び出されます。voidWebRequestInterceptor.postHandle(WebRequest request, @Nullable 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, @Nullable StringSE detailMessageCode, ObjectSE @Nullable [] detailMessageArguments, WebRequest request) protected ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.createResponseEntity(@Nullable ObjectSE body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) 指定された本文、ヘッダー、statusCode から使用するResponseEntityを作成します。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleAsyncRequestNotUsableException(AsyncRequestNotUsableException ex, WebRequest request) AsyncRequestNotUsableExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleAsyncRequestTimeoutException(AsyncRequestTimeoutException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) AsyncRequestTimeoutExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleConversionNotSupported(ConversionNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) ConversionNotSupportedExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleErrorResponseException(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) ErrorResponseExceptionの処理をカスタマイズします。final @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleException(ExceptionSE ex, WebRequest request) リクエストの Spring MVC 処理内で発生したすべての例外を処理します。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleExceptionInternal(ExceptionSE ex, @Nullable ObjectSE body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) 共通の処理とResponseEntityの作成のために、このクラスの他のすべてが委譲する内部ハンドラーメソッド。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleHandlerMethodValidationException(HandlerMethodValidationException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HandlerMethodValidationExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleHttpMediaTypeNotAcceptable(HttpMediaTypeNotAcceptableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMediaTypeNotAcceptableExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleHttpMediaTypeNotSupported(HttpMediaTypeNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMediaTypeNotSupportedExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMessageNotReadableExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleHttpMessageNotWritable(HttpMessageNotWritableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpMessageNotWritableExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleHttpRequestMethodNotSupported(HttpRequestMethodNotSupportedException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HttpRequestMethodNotSupportedExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleMaxUploadSizeExceededException(MaxUploadSizeExceededException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MaxUploadSizeExceededExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleMethodArgumentNotValid(MethodArgumentNotValidException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MethodArgumentNotValidExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleMethodValidationException(MethodValidationException ex, HttpHeaders headers, HttpStatus status, WebRequest request) MethodValidationExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleMissingPathVariable(MissingPathVariableException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MissingPathVariableExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleMissingServletRequestParameter(MissingServletRequestParameterException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MissingServletRequestParameterExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleMissingServletRequestPart(MissingServletRequestPartException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MissingServletRequestPartExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleNoHandlerFoundException(NoHandlerFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) NoHandlerFoundExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleNoResourceFoundException(NoResourceFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) NoResourceFoundExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleServletRequestBindingException(ServletRequestBindingException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) ServletRequestBindingExceptionの処理をカスタマイズします。protected @Nullable ResponseEntity<ObjectSE> ResponseEntityExceptionHandler.handleTypeMismatch(TypeMismatchException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) TypeMismatchExceptionの処理をカスタマイズします。