インターフェースの使用
org.springframework.web.context.request.RequestAttributes
RequestAttributes を使用するパッケージ
パッケージ
説明
一般的なリクエストコンテキストの保持、特に HTTP リクエストまたは HTTP セッションごとのアプリケーションオブジェクトのスコープのサポート。
非同期リクエスト処理のサポート。
アプリケーションコンテキストインフラストラクチャと統合するサーブレット、および Spring Web MVC フレームワークのコアインターフェースとクラスを提供します。
カスタム実装の抽象基本クラスを含む、標準の HandlerMapping 実装を提供します。
org.springframework.web.context.request 内の RequestAttributes 使用
org.springframework.web.context.request 内の RequestAttributes サブインターフェース修飾子と型インターフェース説明interfaceWebRequestインターフェースの拡張。ネイティブのリクエストおよびレスポンスオブジェクトを一般的な方法で公開します。interfaceWeb リクエストの汎用インターフェース。RequestAttributes を実装している org.springframework.web.context.request のクラス修飾子と型クラス説明classRequestAttributes 実装の抽象サポートクラス。リクエスト固有の破棄コールバックおよびアクセスされたセッション属性の更新のためのリクエスト完了メカニズムを提供します。classJSFFacesContext用のRequestAttributesアダプター。classJSFFacesContext用のWebRequestアダプター。classRequestAttributesインターフェースのサーブレットベースの実装。classHttpServletRequest用のWebRequestアダプター。RequestAttributes 型の型引数を持つインターフェースを実装する org.springframework.web.context.request のクラス修飾子と型クラス説明classRequestContextHolderをThreadLocalAccessor契約に適合させて、Micrometer コンテキスト伝播ライブラリによるRequestAttributes伝播を支援します。修飾子と型メソッド説明static RequestAttributesRequestContextHolder.currentRequestAttributes()現在スレッドにバインドされている RequestAttributes を返します。static @Nullable RequestAttributesRequestContextHolder.getRequestAttributes()現在スレッドにバインドされている RequestAttributes を返します。RequestAttributesThreadLocalAccessor.getValue()型 RequestAttributes のパラメーターを持つ org.springframework.web.context.request のメソッド修飾子と型メソッド説明static voidRequestContextHolder.setRequestAttributes(@Nullable RequestAttributes attributes) 指定された RequestAttributes を現在のスレッドにバインドし、子スレッドの継承可能として公開しません。static voidRequestContextHolder.setRequestAttributes(@Nullable RequestAttributes attributes, boolean inheritable) 指定された RequestAttributes を現在のスレッドにバインドします。voidRequestAttributesThreadLocalAccessor.setValue(RequestAttributes value) org.springframework.web.context.request.async 内の RequestAttributes 使用
org.springframework.web.servlet 内の RequestAttributes 使用
型 RequestAttributes のパラメーターを持つ org.springframework.web.servlet のメソッド修飾子と型メソッド説明protected @Nullable ServletRequestAttributesFrameworkServlet.buildRequestAttributes(jakarta.servlet.http.HttpServletRequest request, @Nullable jakarta.servlet.http.HttpServletResponse response, @Nullable RequestAttributes previousAttributes) 事前バインドされた属性(およびその型)を考慮して、指定されたリクエスト(場合によってはレスポンスへの参照も保持している可能性があります)の ServletRequestAttributes をビルドします。org.springframework.web.servlet.handler 内の RequestAttributes 使用
RequestAttributes を実装している org.springframework.web.servlet.handler のクラス修飾子と型クラス説明class