クラスの使用
org.springframework.http.HttpHeaders
パッケージ
説明
クライアント / サーバー側 HTTP の基本的な抽象化が含まれています。
クライアント側の HTTP 上の抽象化が含まれています。
このパッケージは、RestTemplate などの高レベルクラスで使用される汎用 HTTP サポートクラスを提供します。
マルチパートのサポート。
HttpMessageConverter 抽象化を提供して、Java オブジェクトと HTTP 入出力メッセージ間で変換します。
JSON を処理するための HttpMessageConverter 実装を提供します。
XML を処理するための HttpMessageConverter 実装を提供します。
サーバー側の HTTP 上の抽象化が含まれています。
クライアント / サーバー側の HTTP 抽象化のモック実装。
リアクティブ HTTP クライアント契約のモック実装。
Spring の Web MVC フレームワークでの使用を対象とした、サーブレット API 6.0 モックオブジェクトの包括的なセット。
関数 Web フレームワークのモックオブジェクト。
ビルトイン
ResponseCreator
実装が含まれています。WebTestClient
を介した Spring WebFlux サーバーエンドポイントのテストのサポート。 ビルトイン
RequestBuilder
実装が含まれています。 ビルトイン
ResultMatcher
および ResultHandler
実装が含まれています。Spring の Web インフラストラクチャと他のフレームワークモジュール間の最小境界点を定義する一般的な汎用インターフェース。
クライアント側の Web サポートのコアパッケージ。
org.springframework.web.client
パッケージをサポートするクラス。 ファイルのアップロードを処理するためのマルチパート解決フレームワーク。
マルチパート解決フレームワークのサポートクラス。
org.springframework.http.client.reactive
リアクティブ HTTP アダプター層上に構築されるリアクティブ WebClient
を提供します。org.springframework.web.reactive.function.client
パッケージをサポートするクラス。Spring のリアクティブ環境用の関数 Web フレームワークを構成する型を提供します。
org.springframework.web.reactive.function.server
パッケージをサポートするクラス。 静的リソースを提供するためのサポートクラス。
アノテーションベースのハンドラーメソッド処理のインフラストラクチャ。
ビューの解決による結果処理のサポート。
リアクティブ WebSocket 相互作用の抽象化とサポートクラス。
WebSocket 相互作用のクライアントサポート。
Spring の一般的なリアクティブ Web サポートのコアインターフェースとクラス。
HttpExchange
メソッドでアノテーションが付けられた HTTP サービスのクライアントプロキシを作成するためのサポート。 アプリケーションコンテキストインフラストラクチャと統合するサーブレット、および Spring Web MVC フレームワークのコアインターフェースとクラスを提供します。
Spring のサーブレット環境用の関数 Web フレームワークを構成する型を提供します。
org.springframework.web.method.annotation
パッケージに基づいた、アノテーションベースのハンドラーメソッド処理のための MVC インフラストラクチャ。 静的リソースを提供するためのサポートクラス。
WebSocket アプリケーションの一般的な抽象化と Spring 構成のサポート。
Jetty WebSocket API のアダプタークラス。
標準 Jakarta WebSocket API のアダプタークラス。
WebSocket アプリケーションのクライアント側の抽象化。
標準の Jakarta WebSocket エンドポイントで使用するクライアント側クラス。
便利な
WebSocketHandler
実装とデコレーター。WebSocketClient
の SockJS クライアント実装。WebSocketSession
の SockJS 固有の実装。HTML エスケープや Cookie 処理などのその他の Web ユーティリティクラス。
org.springframework.http 内の HttpHeaders 使用
修飾子と型メソッド説明HttpEntity.getHeaders()
このエンティティのヘッダーを返します。HttpMessage.getHeaders()
このメッセージのヘッダーを返します。static HttpHeaders
HttpHeaders.readOnlyHttpHeaders
(HttpHeaders headers) 必要に応じて、指定されたヘッダーの周囲に読み取り専用のHttpHeaders
ラッパーを適用します。static HttpHeaders
HttpHeaders.readOnlyHttpHeaders
(MultiValueMap<StringSE, StringSE> headers) 必要に応じて、指定されたヘッダーの周囲に読み取り専用のHttpHeaders
ラッパーを適用します。static HttpHeaders
HttpHeaders.writableHttpHeaders
(HttpHeaders headers) readOnlyHttpHeaders(HttpHeaders)
を介して特定のヘッダーの周囲に以前に適用された可能性のある読み取り専用ラッパーを削除します。修飾子と型メソッド説明RequestEntity.HeadersBuilder.headers
(HttpHeaders headers) 指定されたヘッダーをエンティティのヘッダーマップにコピーします。ResponseEntity.HeadersBuilder.headers
(HttpHeaders headers) 指定されたヘッダーをエンティティのヘッダーマップにコピーします。static HttpHeaders
HttpHeaders.readOnlyHttpHeaders
(HttpHeaders headers) 必要に応じて、指定されたヘッダーの周囲に読み取り専用のHttpHeaders
ラッパーを適用します。static HttpHeaders
HttpHeaders.writableHttpHeaders
(HttpHeaders headers) readOnlyHttpHeaders(HttpHeaders)
を介して特定のヘッダーの周囲に以前に適用された可能性のある読み取り専用ラッパーを削除します。修飾子と型メソッド説明RequestEntity.HeadersBuilder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのエンティティのヘッダーを操作します。ResponseEntity.HeadersBuilder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのエンティティのヘッダーを操作します。org.springframework.http.client 内の HttpHeaders 使用
修飾子と型メソッド説明protected abstract ClientHttpResponse
AbstractClientHttpRequest.executeInternal
(HttpHeaders headers) 指定されたヘッダーとコンテンツを HTTP リクエストに書き込む抽象テンプレートメソッド。protected abstract OutputStreamSE
AbstractClientHttpRequest.getBodyInternal
(HttpHeaders headers) 本文を返す抽象テンプレートメソッド。修飾子と型メソッド説明MultipartBodyBuilder.PartBuilder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーを介してパーツヘッダーを操作します。org.springframework.http.client.reactive 内の HttpHeaders 使用
修飾子と型メソッド説明AbstractClientHttpRequest.getHeaders()
AbstractClientHttpResponse.getHeaders()
ClientHttpRequestDecorator.getHeaders()
ClientHttpResponseDecorator.getHeaders()
protected HttpHeaders
AbstractClientHttpRequest.initReadOnlyHeaders()
リクエストがコミットされた後、読み取り専用ヘッダーを初期化します。修飾子コンストラクター説明AbstractClientHttpRequest
(HttpHeaders headers) protected
AbstractClientHttpResponse
(HttpStatusCode statusCode, HttpHeaders headers, MultiValueMap<StringSE, ResponseCookie> cookies, reactor.core.publisher.Flux<DataBuffer> body) org.springframework.http.client.support 内の HttpHeaders 使用
org.springframework.http.codec.multipart 内の HttpHeaders 使用
修飾子と型メソッド説明protected reactor.core.publisher.Mono<DataBuffer>
MultipartWriterSupport.generatePartHeaders
(HttpHeaders headers, DataBufferFactory bufferFactory) 修飾子と型メソッド説明static reactor.core.publisher.Flux<FilePartEvent>
FilePartEvent.create
(StringSE partName, StringSE filename, MediaType contentType, reactor.core.publisher.Flux<DataBuffer> contents, ConsumerSE<HttpHeaders> headersConsumer) 指定された name、FilePartEvent.filename()、content-type、および content に基づいて、FilePartEvent
オブジェクトのストリームを作成します。static reactor.core.publisher.Flux<FilePartEvent>
FilePartEvent.create
(StringSE name, PathSE path, ConsumerSE<HttpHeaders> headersConsumer) 指定された名前とファイルパスに基づいて、FilePartEvent
オブジェクトのストリームを作成します。static reactor.core.publisher.Flux<FilePartEvent>
FilePartEvent.create
(StringSE name, Resource resource, ConsumerSE<HttpHeaders> headersConsumer) 指定された名前とリソースに基づいて、FilePartEvent
オブジェクトのストリームを作成します。static reactor.core.publisher.Mono<FormPartEvent>
FormPartEvent.create
(StringSE name, StringSE value, ConsumerSE<HttpHeaders> headersConsumer) org.springframework.http.converter 内の HttpHeaders 使用
修飾子と型メソッド説明protected void
AbstractHttpMessageConverter.addDefaultHeaders
(HttpHeaders headers, T t, MediaType contentType) 出力メッセージにデフォルトのヘッダーを追加します。protected void
StringHttpMessageConverter.addDefaultHeaders
(HttpHeaders headers, StringSE s, MediaType type) org.springframework.http.converter.json 内の HttpHeaders 使用
修飾子コンストラクター説明MappingJacksonInputMessage
(InputStreamSE body, HttpHeaders headers) MappingJacksonInputMessage
(InputStreamSE body, HttpHeaders headers, ClassSE<?> deserializationView) org.springframework.http.converter.xml 内の HttpHeaders 使用
修飾子と型メソッド説明protected abstract T
AbstractXmlHttpMessageConverter.readFromSource
(ClassSE<? extends T> clazz, HttpHeaders headers, SourceSE source) AbstractHttpMessageConverter.read(Class, HttpInputMessage)
から呼び出される抽象テンプレートメソッド。protected T
Jaxb2CollectionHttpMessageConverter.readFromSource
(ClassSE<? extends T> clazz, HttpHeaders headers, SourceSE source) protected ObjectSE
Jaxb2RootElementHttpMessageConverter.readFromSource
(ClassSE<?> clazz, HttpHeaders headers, SourceSE source) protected ObjectSE
MarshallingHttpMessageConverter.readFromSource
(ClassSE<?> clazz, HttpHeaders headers, SourceSE source) protected abstract void
AbstractXmlHttpMessageConverter.writeToResult
(T t, HttpHeaders headers, ResultSE result) AbstractXmlHttpMessageConverter.writeInternal(Object, HttpOutputMessage)
から呼び出される抽象テンプレートメソッド。protected void
Jaxb2CollectionHttpMessageConverter.writeToResult
(T t, HttpHeaders headers, ResultSE result) protected void
Jaxb2RootElementHttpMessageConverter.writeToResult
(ObjectSE o, HttpHeaders headers, ResultSE result) protected void
MarshallingHttpMessageConverter.writeToResult
(ObjectSE o, HttpHeaders headers, ResultSE result) org.springframework.http.server 内の HttpHeaders 使用
修飾子と型メソッド説明DelegatingServerHttpResponse.getHeaders()
ServletServerHttpRequest.getHeaders()
ServletServerHttpResponse.getHeaders()
org.springframework.http.server.reactive 内の HttpHeaders 使用
修飾子と型メソッド説明AbstractServerHttpRequest.getHeaders()
AbstractServerHttpResponse.getHeaders()
ServerHttpRequestDecorator.getHeaders()
ServerHttpResponseDecorator.getHeaders()
修飾子と型メソッド説明ServerHttpRequest.Builder.headers
(ConsumerSE<HttpHeaders> headersConsumer) リクエストヘッダーを操作します。修飾子コンストラクター説明AbstractListenerServerHttpResponse
(DataBufferFactory bufferFactory, HttpHeaders headers) AbstractServerHttpResponse
(DataBufferFactory dataBufferFactory, HttpHeaders headers) org.springframework.mock.http 内の HttpHeaders 使用
org.springframework.mock.http.client.reactive 内の HttpHeaders 使用
org.springframework.mock.web 内の HttpHeaders 使用
修飾子と型メソッド説明final HttpHeaders
MockPart.getHeaders()
HttpHeaders
バッキングヘッダー関連のアクセサーメソッドを返し、選択されたヘッダーエントリを設定できるようにします。MockMultipartHttpServletRequest.getMultipartHeaders
(StringSE paramOrFileName) MockMultipartHttpServletRequest.getRequestHeaders()
org.springframework.mock.web.reactive.function.server 内の HttpHeaders 使用
org.springframework.test.web.client.response 内の HttpHeaders 使用
org.springframework.test.web.reactive.server 内の HttpHeaders 使用
修飾子と型メソッド説明ExchangeResult.getRequestHeaders()
サーバーに送信されたリクエストヘッダーを返します。ExchangeResult.getResponseHeaders()
サーバーから受信したレスポンスヘッダーを返します。修飾子と型メソッド説明WebTestClient.Builder.defaultHeaders
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでデフォルトのヘッダーを操作します。WebTestClient.RequestHeadersSpec.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでリクエストのヘッダーを操作します。org.springframework.test.web.servlet.request 内の HttpHeaders 使用
org.springframework.test.web.servlet.result 内の HttpHeaders 使用
修飾子と型メソッド説明protected final HttpHeaders
PrintingResultHandler.getRequestHeaders
(MockHttpServletRequest request) protected final HttpHeaders
PrintingResultHandler.getResponseHeaders
(MockHttpServletResponse response) org.springframework.web 内の HttpHeaders 使用
修飾子と型メソッド説明default HttpHeaders
ErrorResponse.getHeaders()
レスポンスに使用するヘッダーを返します。ErrorResponseException.getHeaders()
HttpMediaTypeNotAcceptableException.getHeaders()
HttpMediaTypeNotSupportedException.getHeaders()
HttpRequestMethodNotSupportedException.getHeaders()
修飾子と型メソッド説明ErrorResponse.Builder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのレスポンスのヘッダーを操作します。org.springframework.web.client 内の HttpHeaders 使用
修飾子と型メソッド説明RestClientResponseException.getResponseHeaders()
HTTP レスポンスヘッダーを返します。UnknownContentTypeException.getResponseHeaders()
HTTP レスポンスヘッダーを返します。RestOperations.headForHeaders
(StringSE url, ObjectSE... uriVariables) URI テンプレートで指定されたリソースのすべてのヘッダーを取得します。RestOperations.headForHeaders
(StringSE url, MapSE<StringSE, ?> uriVariables) URI テンプレートで指定されたリソースのすべてのヘッダーを取得します。RestOperations.headForHeaders
(URISE url) URL で指定されたリソースのすべてのヘッダーを取得します。RestTemplate.headForHeaders
(StringSE url, ObjectSE... uriVariables) RestTemplate.headForHeaders
(StringSE url, MapSE<StringSE, ?> uriVariables) RestTemplate.headForHeaders
(URISE url) 修飾子と型メソッド説明protected ResponseExtractor<HttpHeaders>
RestTemplate.headersExtractor()
HttpHeaders
のレスポンス抽出プログラムを返します。修飾子と型メソッド説明static HttpClientErrorException
HttpClientErrorException.create
(StringSE message, HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) オプションの準備済みメッセージを含むHttpClientErrorException.create(HttpStatusCode, String, HttpHeaders, byte[], Charset)
のバリアント。static HttpClientErrorException
HttpClientErrorException.create
(HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) HttpClientErrorException
または HTTP ステータス固有のサブクラスを作成します。static HttpServerErrorException
HttpServerErrorException.create
(StringSE message, HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) オプションの準備済みメッセージを含むHttpServerErrorException.create(String, HttpStatusCode, String, HttpHeaders, byte[], Charset)
のバリアント。static HttpServerErrorException
HttpServerErrorException.create
(HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) HttpServerErrorException
または HTTP ステータス固有のサブクラスを作成します。修飾子と型メソッド説明RestClient.Builder.defaultHeaders
(ConsumerSE<HttpHeaders> headersConsumer) これまでに宣言されたすべてのデフォルトヘッダーにアクセスし、追加、置換、削除できるようにコンシューマーを提供します。RestClient.RequestHeadersSpec.headers
(ConsumerSE<HttpHeaders> headersConsumer) これまでに宣言されたすべてのヘッダーへのアクセスを提供し、値を追加、置換、削除できます。修飾子コンストラクター説明HttpClientErrorException
(StringSE message, HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE responseCharset) ステータスコードとステータステキスト、ヘッダー、コンテンツ、準備されたメッセージを含むコンストラクター。HttpClientErrorException
(HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE responseCharset) ステータスコードとステータステキスト、ヘッダー、コンテンツを持つコンストラクター。HttpServerErrorException
(StringSE message, HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) ステータスコードとステータステキスト、ヘッダー、コンテンツ、準備されたメッセージを含むコンストラクター。HttpServerErrorException
(HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) ステータスコードとステータステキスト、ヘッダー、コンテンツを持つコンストラクター。protected
HttpStatusCodeException
(StringSE message, HttpStatusCode statusCode, StringSE statusText, HttpHeaders responseHeaders, byte[] responseBody, CharsetSE responseCharset) HttpStatusCode
、ステータステキスト、コンテンツ、レスポンス文字セットを使用してインスタンスを作成します。protected
HttpStatusCodeException
(HttpStatusCode statusCode, StringSE statusText, HttpHeaders responseHeaders, byte[] responseBody, CharsetSE responseCharset) HttpStatusCode
、ステータステキスト、コンテンツ、レスポンス文字セットを使用してインスタンスを作成します。RestClientResponseException
(StringSE message, int statusCode, StringSE statusText, HttpHeaders headers, byte[] responseBody, CharsetSE responseCharset) 指定されたレスポンスデータでの新しいインスタンスを構築します。RestClientResponseException
(StringSE message, HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] responseBody, CharsetSE responseCharset) 指定されたレスポンスデータでの新しいインスタンスを構築します。UnknownContentTypeException
(TypeSE targetType, MediaType contentType, int statusCode, StringSE statusText, HttpHeaders responseHeaders, byte[] responseBody) 指定されたレスポンスデータでの新しいインスタンスを構築します。UnknownContentTypeException
(TypeSE targetType, MediaType contentType, HttpStatusCode statusCode, StringSE statusText, HttpHeaders responseHeaders, byte[] responseBody) 指定されたレスポンスデータでの新しいインスタンスを構築します。UnknownHttpStatusCodeException
(int rawStatusCode, StringSE statusText, HttpHeaders responseHeaders, byte[] responseBody, CharsetSE responseCharset) ステータスコード、ステータステキスト、レスポンス本文の内容に基づいて、HttpStatusCodeException
の新しいインスタンスを構築します。UnknownHttpStatusCodeException
(StringSE message, int rawStatusCode, StringSE statusText, HttpHeaders responseHeaders, byte[] responseBody, CharsetSE responseCharset) ステータスコード、ステータステキスト、レスポンス本文の内容に基づいて、HttpStatusCodeException
の新しいインスタンスを構築します。org.springframework.web.client.support 内の HttpHeaders 使用
修飾子と型メソッド説明RestClientAdapter.exchangeForHeaders
(HttpRequestValues values) RestTemplateAdapter.exchangeForHeaders
(HttpRequestValues values) org.springframework.web.multipart 内の HttpHeaders 使用
修飾子と型メソッド説明MultipartHttpServletRequest.getMultipartHeaders
(StringSE paramOrFileName) マルチパートリクエストの指定された部分のヘッダーを返します。MultipartHttpServletRequest.getRequestHeaders()
このリクエストのヘッダーを便利な HttpHeaders インスタンスとして返します。org.springframework.web.multipart.support 内の HttpHeaders 使用
修飾子と型メソッド説明RequestPartServletServerHttpRequest.getHeaders()
DefaultMultipartHttpServletRequest.getMultipartHeaders
(StringSE paramOrFileName) StandardMultipartHttpServletRequest.getMultipartHeaders
(StringSE paramOrFileName) AbstractMultipartHttpServletRequest.getRequestHeaders()
org.springframework.web.reactive.function.client 内の HttpHeaders 使用
修飾子と型メソッド説明ClientResponse.Headers.asHttpHeaders()
ヘッダーをHttpHeaders
インスタンスとして返します。WebClientRequestException.getHeaders()
HTTP リクエストヘッダーを返します。WebClientResponseException.getHeaders()
HTTP レスポンスヘッダーを返します。ClientRequest.headers()
このリクエストのヘッダーを返します。修飾子と型メソッド説明static WebClientResponseException
WebClientResponseException.create
(int statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) WebClientResponseException
または HTTP ステータス固有のサブクラスを作成します。static WebClientResponseException
WebClientResponseException.create
(int statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset, HttpRequest request) WebClientResponseException
または HTTP ステータス固有のサブクラスを作成します。static WebClientResponseException
WebClientResponseException.create
(HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset, HttpRequest request) WebClientResponseException
または HTTP ステータス固有のサブクラスを作成します。修飾子と型メソッド説明WebClient.Builder.defaultHeaders
(ConsumerSE<HttpHeaders> headersConsumer) これまでに宣言されたすべてのWebClient.Builder.defaultHeader(String, String...)
へのアクセスを提供し、追加、置換、削除する機能があります。ClientRequest.Builder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのリクエストのヘッダーを操作します。ClientResponse.Builder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのレスポンスのヘッダーを操作します。WebClient.RequestHeadersSpec.headers
(ConsumerSE<HttpHeaders> headersConsumer) これまでに宣言されたすべてのヘッダーへのアクセスを提供し、値を追加、置換、削除できます。修飾子コンストラクター説明UnknownHttpStatusCodeException
(int statusCode, HttpHeaders headers, byte[] responseBody, CharsetSE responseCharset) 指定されたパラメーターでUnknownHttpStatusCodeException
の新しいインスタンスを作成します。UnknownHttpStatusCodeException
(int statusCode, HttpHeaders headers, byte[] responseBody, CharsetSE responseCharset, HttpRequest request) 指定されたパラメーターでUnknownHttpStatusCodeException
の新しいインスタンスを作成します。UnknownHttpStatusCodeException
(HttpStatusCode statusCode, HttpHeaders headers, byte[] responseBody, CharsetSE responseCharset, HttpRequest request) 指定されたパラメーターでUnknownHttpStatusCodeException
の新しいインスタンスを作成します。WebClientRequestException
(ThrowableSE ex, HttpMethod method, URISE uri, HttpHeaders headers) スロー可能のコンストラクター。WebClientResponseException
(int statusCode, StringSE statusText, HttpHeaders headers, byte[] body, CharsetSE charset) レスポンスデータのみを含むコンストラクター、およびデフォルトメッセージ。WebClientResponseException
(int status, StringSE reasonPhrase, HttpHeaders headers, byte[] body, CharsetSE charset, HttpRequest request) レスポンスデータのみを含むコンストラクター、およびデフォルトメッセージ。WebClientResponseException
(StringSE message, int statusCode, StringSE statusText, HttpHeaders headers, byte[] responseBody, CharsetSE charset) 準備されたメッセージを持つコンストラクター。WebClientResponseException
(StringSE message, int statusCode, StringSE statusText, HttpHeaders headers, byte[] responseBody, CharsetSE charset, HttpRequest request) 準備されたメッセージを持つコンストラクター。WebClientResponseException
(StringSE message, HttpStatusCode statusCode, StringSE statusText, HttpHeaders headers, byte[] responseBody, CharsetSE charset, HttpRequest request) 準備されたメッセージを持つコンストラクター。WebClientResponseException
(HttpStatusCode statusCode, StringSE reasonPhrase, HttpHeaders headers, byte[] body, CharsetSE charset, HttpRequest request) レスポンスデータのみを含むコンストラクター、およびデフォルトメッセージ。org.springframework.web.reactive.function.client.support 内の HttpHeaders 使用
修飾子と型メソッド説明reactor.core.publisher.Mono<HttpHeaders>
WebClientAdapter.exchangeForHeadersMono
(HttpRequestValues requestValues) org.springframework.web.reactive.function.server 内の HttpHeaders 使用
修飾子と型メソッド説明ServerRequest.Headers.asHttpHeaders()
ヘッダーをHttpHeaders
のインスタンスとして取得します。ServerResponse.headers()
このレスポンスのヘッダーを返します。修飾子と型メソッド説明EntityResponse.Builder.headers
(HttpHeaders headers) 指定されたヘッダーをエンティティのヘッダーマップにコピーします。RenderingResponse.Builder.headers
(HttpHeaders headers) 指定されたヘッダーをエンティティのヘッダーマップにコピーします。修飾子と型メソッド説明EntityResponse.Builder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのエンティティのヘッダーを操作します。ServerRequest.Builder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのリクエストのヘッダーを操作します。ServerResponse.HeadersBuilder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのレスポンスのヘッダーを操作します。RouterFunctions.Builder.resource
(RequestPredicate predicate, Resource resource, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定された述語に一致するリクエストを指定されたリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resource
(RequestPredicate predicate, Resource resource, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定された述語に一致するリクエストを指定されたリソースにルーティングします。RouterFunctions.Builder.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。RouterFunctions.Builder.resources
(FunctionSE<ServerRequest, reactor.core.publisher.Mono<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(FunctionSE<ServerRequest, reactor.core.publisher.Mono<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。org.springframework.web.reactive.function.server.support 内の HttpHeaders 使用
org.springframework.web.reactive.resource 内の HttpHeaders 使用
org.springframework.web.reactive.result.method.annotation 内の HttpHeaders 使用
修飾子と型メソッド説明protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.createResponseEntity
(ObjectSE body, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) 指定された本文、ヘッダー、statusCode から使用するResponseEntity
を作成します。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleErrorResponseException
(ErrorResponseException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) ErrorResponseException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleExceptionInternal
(ExceptionSE ex, ObjectSE body, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) 共通の処理とResponseEntity
の作成のために、このクラスの他のすべてが委譲する内部ハンドラーメソッド。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleHandlerMethodValidationException
(HandlerMethodValidationException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) HandlerMethodValidationException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleMethodNotAllowedException
(MethodNotAllowedException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) MethodNotAllowedException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleMissingRequestValueException
(MissingRequestValueException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) MissingRequestValueException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleNotAcceptableStatusException
(NotAcceptableStatusException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) NotAcceptableStatusException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleResponseStatusException
(ResponseStatusException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) ResponseStatusException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleServerErrorException
(ServerErrorException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) ServerErrorException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleServerWebInputException
(ServerWebInputException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) ServerWebInputException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleUnsatisfiedRequestParameterException
(UnsatisfiedRequestParameterException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) UnsatisfiedRequestParameterException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleUnsupportedMediaTypeStatusException
(UnsupportedMediaTypeStatusException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) UnsupportedMediaTypeStatusException
の処理をカスタマイズします。protected reactor.core.publisher.Mono<ResponseEntity<ObjectSE>>
ResponseEntityExceptionHandler.handleWebExchangeBindException
(WebExchangeBindException ex, HttpHeaders headers, HttpStatusCode status, ServerWebExchange exchange) WebExchangeBindException
の処理をカスタマイズします。org.springframework.web.reactive.result.view 内の HttpHeaders 使用
org.springframework.web.reactive.socket 内の HttpHeaders 使用
修飾子と型メソッド説明HandshakeInfo.getHeaders()
ハンドシェイクリクエストから HTTP ヘッダーを返します。これは、サーバーセッションのサーバーリクエストヘッダーまたはクライアントセッションのクライアントレスポンスヘッダーのいずれかです。修飾子コンストラクター説明HandshakeInfo
(URISE uri, HttpHeaders headers, MultiValueMap<StringSE, HttpCookie> cookies, reactor.core.publisher.Mono<PrincipalSE> principal, StringSE protocol, InetSocketAddressSE remoteAddress, MapSE<StringSE, ObjectSE> attributes, StringSE logPrefix) Cookie、リモートアドレス、属性、ログプレフィックスなどの追加情報を使用してサーバー側で使用することを目的としたコンストラクター。HandshakeInfo
(URISE uri, HttpHeaders headers, reactor.core.publisher.Mono<PrincipalSE> principal, StringSE protocol) ハンドシェイクに関する基本情報を持つコンストラクター。HandshakeInfo
(URISE uri, HttpHeaders headers, reactor.core.publisher.Mono<PrincipalSE> principal, StringSE protocol, InetSocketAddressSE remoteAddress, MapSE<StringSE, ObjectSE> attributes, StringSE logPrefix) 使用すべきではありません。org.springframework.web.reactive.socket.client 内の HttpHeaders 使用
修飾子と型メソッド説明reactor.core.publisher.Mono<VoidSE>
ReactorNetty2WebSocketClient.execute
(URISE url, HttpHeaders requestHeaders, WebSocketHandler handler) reactor.core.publisher.Mono<VoidSE>
ReactorNettyWebSocketClient.execute
(URISE url, HttpHeaders requestHeaders, WebSocketHandler handler) reactor.core.publisher.Mono<VoidSE>
StandardWebSocketClient.execute
(URISE url, HttpHeaders headers, WebSocketHandler handler) reactor.core.publisher.Mono<VoidSE>
UndertowWebSocketClient.execute
(URISE url, HttpHeaders headers, WebSocketHandler handler) reactor.core.publisher.Mono<VoidSE>
WebSocketClient.execute
(URISE url, HttpHeaders headers, WebSocketHandler handler) カスタムヘッダーを持つWebSocketClient.execute(URI, WebSocketHandler)
のバリアント。org.springframework.web.server 内の HttpHeaders 使用
修飾子と型メソッド説明MethodNotAllowedException.getHeaders()
この URL で許可されている HTTP メソッドをドキュメント化する "Allow" ヘッダーを含む HttpHeaders を返します (利用可能な場合)。そうでない場合は空のインスタンスを返します。NotAcceptableStatusException.getHeaders()
利用可能な場合はサポートされているメディア型をドキュメント化する "Accept" ヘッダーを含む HttpHeaders を返し、そうでない場合は空のインスタンスを返します。ResponseStatusException.getHeaders()
エラーレスポンスに追加するヘッダーを返します。UnsupportedMediaTypeStatusException.getHeaders()
利用可能な場合はサポートされているメディア型をドキュメント化する "Accept" ヘッダーを含む HttpHeaders を返し、そうでない場合は空のインスタンスを返します。MethodNotAllowedException.getResponseHeaders()
使用すべきではありません。6.0 現在、MethodNotAllowedException.getHeaders()
を推奨NotAcceptableStatusException.getResponseHeaders()
使用すべきではありません。6.0 現在、NotAcceptableStatusException.getHeaders()
を推奨ResponseStatusException.getResponseHeaders()
使用すべきではありません。6.0 現在、ResponseStatusException.getHeaders()
を推奨UnsupportedMediaTypeStatusException.getResponseHeaders()
使用すべきではありません。org.springframework.web.service.invoker 内の HttpHeaders 使用
修飾子と型メソッド説明AbstractReactorHttpExchangeAdapter.exchangeForHeaders
(HttpRequestValues requestValues) HttpExchangeAdapter.exchangeForHeaders
(HttpRequestValues requestValues) 指定されたリクエストを実行し、レスポンスコンテンツを解放し、レスポンスヘッダーを返します。HttpRequestValues.getHeaders()
リクエストのヘッダーがあれば、それを返します。修飾子と型メソッド説明reactor.core.publisher.Mono<HttpHeaders>
ReactorHttpExchangeAdapter.exchangeForHeadersMono
(HttpRequestValues requestValues) 指定されたリクエストを実行し、レスポンスコンテンツを解放し、レスポンスヘッダーを返します。reactor.core.publisher.Mono<HttpHeaders>
AbstractReactorHttpExchangeAdapter.requestToHeaders
(HttpRequestValues requestValues) reactor.core.publisher.Mono<HttpHeaders>
HttpClientAdapter.requestToHeaders
(HttpRequestValues requestValues) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。指定されたリクエストを実行し、レスポンスコンテンツを解放し、レスポンスヘッダーを返します。修飾子と型メソッド説明protected HttpRequestValues
HttpRequestValues.Builder.createRequestValues
(HttpMethod httpMethod, URISE uri, StringSE uriTemplate, MapSE<StringSE, StringSE> uriVars, HttpHeaders headers, MultiValueMap<StringSE, StringSE> cookies, MapSE<StringSE, ObjectSE> attributes, ObjectSE bodyValue) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected HttpRequestValues
HttpRequestValues.Builder.createRequestValues
(HttpMethod httpMethod, URISE uri, UriBuilderFactory uriBuilderFactory, StringSE uriTemplate, MapSE<StringSE, StringSE> uriVars, HttpHeaders headers, MultiValueMap<StringSE, StringSE> cookies, MapSE<StringSE, ObjectSE> attributes, ObjectSE bodyValue) HttpRequestValues.Builder
に渡された値からHttpRequestValues
を作成します。protected ReactiveHttpRequestValues
ReactiveHttpRequestValues.Builder.createRequestValues
(HttpMethod httpMethod, URISE uri, UriBuilderFactory uriBuilderFactory, StringSE uriTemplate, MapSE<StringSE, StringSE> uriVars, HttpHeaders headers, MultiValueMap<StringSE, StringSE> cookies, MapSE<StringSE, ObjectSE> attributes, ObjectSE bodyValue) 修飾子コンストラクター説明protected
HttpRequestValues
(HttpMethod httpMethod, URISE uri, StringSE uriTemplate, MapSE<StringSE, StringSE> uriVariables, HttpHeaders headers, MultiValueMap<StringSE, StringSE> cookies, MapSE<StringSE, ObjectSE> attributes, ObjectSE bodyValue) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。protected
HttpRequestValues
(HttpMethod httpMethod, URISE uri, UriBuilderFactory uriBuilderFactory, StringSE uriTemplate, MapSE<StringSE, StringSE> uriVariables, HttpHeaders headers, MultiValueMap<StringSE, StringSE> cookies, MapSE<StringSE, ObjectSE> attributes, ObjectSE bodyValue) HttpRequestValues
を構築します。org.springframework.web.servlet 内の HttpHeaders 使用
修飾子と型メソッド説明NoHandlerFoundException.getHeaders()
レスポンスに使用するヘッダーを返します。NoHandlerFoundException.getRequestHeaders()
リクエストのヘッダーを返します。修飾子コンストラクター説明NoHandlerFoundException
(StringSE httpMethod, StringSE requestURL, HttpHeaders headers) NoHandlerFoundException のコンストラクター。org.springframework.web.servlet.function 内の HttpHeaders 使用
修飾子と型メソッド説明ServerRequest.Headers.asHttpHeaders()
ヘッダーをHttpHeaders
のインスタンスとして取得します。ServerResponse.headers()
このレスポンスのヘッダーを返します。修飾子と型メソッド説明EntityResponse.Builder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのレスポンスのヘッダーを操作します。RenderingResponse.Builder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのレスポンスのヘッダーを操作します。ServerRequest.Builder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのリクエストのヘッダーを操作します。ServerResponse.HeadersBuilder.headers
(ConsumerSE<HttpHeaders> headersConsumer) 指定されたコンシューマーでこのレスポンスのヘッダーを操作します。RouterFunctions.Builder.resource
(RequestPredicate predicate, Resource resource, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定された述語に一致するリクエストを指定されたリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resource
(RequestPredicate predicate, Resource resource, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定された述語に一致するリクエストを指定されたリソースにルーティングします。RouterFunctions.Builder.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。RouterFunctions.Builder.resources
(FunctionSE<ServerRequest, OptionalSE<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(StringSE pattern, Resource location, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 指定されたパターンに一致するリクエストを、指定されたルートの場所を基準としたリソースにルーティングします。static RouterFunction<ServerResponse>
RouterFunctions.resources
(FunctionSE<ServerRequest, OptionalSE<Resource>> lookupFunction, BiConsumerSE<Resource, HttpHeaders> headersConsumer) 提供された検索機能を使用してリソースにルーティングします。org.springframework.web.servlet.mvc.method.annotation 内の HttpHeaders 使用
修飾子と型メソッド説明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 要素は、将来のバージョンで削除される可能性があります。6.0 では、ModelAttributeMethodProcessor
がMethodArgumentNotValidException
のサブクラスを発生させるようになったため。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
の処理をカスタマイズします。protected ResponseEntity<ObjectSE>
ResponseEntityExceptionHandler.handleExceptionInternal
(ExceptionSE ex, ObjectSE body, HttpHeaders headers, HttpStatusCode statusCode, WebRequest request) 共通の処理とResponseEntity
の作成のために、このクラスの他のすべてが委譲する内部ハンドラーメソッド。protected ResponseEntity<ObjectSE>
ResponseEntityExceptionHandler.handleHandlerMethodValidationException
(HandlerMethodValidationException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) HandlerMethodValidationException
の処理をカスタマイズします。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.handleMaxUploadSizeExceededException
(MaxUploadSizeExceededException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MaxUploadSizeExceededException
の処理をカスタマイズします。protected ResponseEntity<ObjectSE>
ResponseEntityExceptionHandler.handleMethodArgumentNotValid
(MethodArgumentNotValidException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) MethodArgumentNotValidException
の処理をカスタマイズします。protected ResponseEntity<ObjectSE>
ResponseEntityExceptionHandler.handleMethodValidationException
(MethodValidationException ex, HttpHeaders headers, HttpStatus status, WebRequest request) MethodValidationException
の処理をカスタマイズします。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.handleNoResourceFoundException
(NoResourceFoundException ex, HttpHeaders headers, HttpStatusCode status, WebRequest request) NoResourceFoundException
の処理をカスタマイズします。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
の処理をカスタマイズします。org.springframework.web.servlet.resource 内の HttpHeaders 使用
org.springframework.web.socket 内の HttpHeaders 使用
修飾子コンストラクター説明WebSocketHttpHeaders
(HttpHeaders headers) 指定された既存の HttpHeaders をラップするインスタンスを作成し、それにすべての変更を伝播します。org.springframework.web.socket.adapter.jetty 内の HttpHeaders 使用
org.springframework.web.socket.adapter.standard 内の HttpHeaders 使用
修飾子コンストラクター説明StandardWebSocketSession
(HttpHeaders headers, MapSE<StringSE, ObjectSE> attributes, InetSocketAddressSE localAddress, InetSocketAddressSE remoteAddress) 標準の WebSocket セッションのコンストラクター。StandardWebSocketSession
(HttpHeaders headers, MapSE<StringSE, ObjectSE> attributes, InetSocketAddressSE localAddress, InetSocketAddressSE remoteAddress, PrincipalSE user) ユーザーを WebSocket セッションに関連付けるコンストラクター。org.springframework.web.socket.client 内の HttpHeaders 使用
修飾子と型メソッド説明protected ListenableFuture<WebSocketSession>
AbstractWebSocketClient.doHandshakeInternal
(WebSocketHandler webSocketHandler, HttpHeaders headers, URISE uri, ListSE<StringSE> subProtocols, ListSE<WebSocketExtension> extensions, MapSE<StringSE, ObjectSE> attributes) 使用すべきではありません。protected abstract CompletableFutureSE<WebSocketSession>
AbstractWebSocketClient.executeInternal
(WebSocketHandler webSocketHandler, HttpHeaders headers, URISE uri, ListSE<StringSE> subProtocols, ListSE<WebSocketExtension> extensions, MapSE<StringSE, ObjectSE> attributes) 実際のハンドシェイクを実行して、サーバーへの接続を確立します。void
WebSocketConnectionManager.setHeaders
(HttpHeaders headers) WebSocket ハンドシェイクリクエストに追加するデフォルトのヘッダーを提供します。org.springframework.web.socket.client.standard 内の HttpHeaders 使用
修飾子と型メソッド説明protected CompletableFutureSE<WebSocketSession>
StandardWebSocketClient.executeInternal
(WebSocketHandler webSocketHandler, HttpHeaders headers, URISE uri, ListSE<StringSE> protocols, ListSE<WebSocketExtension> extensions, MapSE<StringSE, ObjectSE> attributes) org.springframework.web.socket.handler 内の HttpHeaders 使用
org.springframework.web.socket.sockjs.client 内の HttpHeaders 使用
修飾子と型メソッド説明AbstractClientSockJsSession.getHandshakeHeaders()
TransportRequest.getHandshakeHeaders()
接続リクエストで送信するヘッダーを返します。XhrClientSockJsSession.getHeaders()
TransportRequest.getHttpRequestHeaders()
XHR 受信および送信リクエストなどのハンドシェイクリクエスト以外のすべての HTTP リクエストに追加するヘッダーを返します。修飾子と型メソッド説明protected abstract void
AbstractXhrTransport.connectInternal
(TransportRequest request, WebSocketHandler handler, URISE receiveUrl, HttpHeaders handshakeHeaders, XhrClientSockJsSession session, CompletableFutureSE<WebSocketSession> connectFuture) protected void
AbstractXhrTransport.connectInternal
(TransportRequest request, WebSocketHandler handler, URISE receiveUrl, HttpHeaders handshakeHeaders, XhrClientSockJsSession session, SettableListenableFuture<WebSocketSession> connectFuture) 使用すべきではありません。protected void
JettyXhrTransport.connectInternal
(TransportRequest transportRequest, WebSocketHandler handler, URISE url, HttpHeaders handshakeHeaders, XhrClientSockJsSession session, CompletableFutureSE<WebSocketSession> connectFuture) protected void
RestTemplateXhrTransport.connectInternal
(TransportRequest transportRequest, WebSocketHandler handler, URISE receiveUrl, HttpHeaders handshakeHeaders, XhrClientSockJsSession session, CompletableFutureSE<WebSocketSession> connectFuture) protected void
UndertowXhrTransport.connectInternal
(TransportRequest request, WebSocketHandler handler, URISE receiveUrl, HttpHeaders handshakeHeaders, XhrClientSockJsSession session, CompletableFutureSE<WebSocketSession> connectFuture) AbstractXhrTransport.executeInfoRequest
(URISE infoUrl, HttpHeaders headers) InfoReceiver.executeInfoRequest
(URISE infoUrl, HttpHeaders headers) SockJS の「情報」URL への HTTP リクエストを実行します。protected abstract ResponseEntity<StringSE>
AbstractXhrTransport.executeInfoRequestInternal
(URISE infoUrl, HttpHeaders headers) protected ResponseEntity<StringSE>
JettyXhrTransport.executeInfoRequestInternal
(URISE infoUrl, HttpHeaders headers) protected ResponseEntity<StringSE>
RestTemplateXhrTransport.executeInfoRequestInternal
(URISE infoUrl, HttpHeaders headers) protected ResponseEntity<StringSE>
UndertowXhrTransport.executeInfoRequestInternal
(URISE infoUrl, HttpHeaders headers) protected ResponseEntity<StringSE>
JettyXhrTransport.executeRequest
(URISE url, org.eclipse.jetty.http.HttpMethod method, HttpHeaders headers, StringSE body) protected ResponseEntity<StringSE>
UndertowXhrTransport.executeRequest
(URISE url, io.undertow.util.HttpString method, HttpHeaders headers, StringSE body) void
AbstractXhrTransport.executeSendRequest
(URISE url, HttpHeaders headers, TextMessage message) void
XhrTransport.executeSendRequest
(URISE transportUrl, HttpHeaders headers, TextMessage message) リクエストを実行して、メッセージをサーバーに送信します。protected abstract ResponseEntity<StringSE>
AbstractXhrTransport.executeSendRequestInternal
(URISE url, HttpHeaders headers, TextMessage message) JettyXhrTransport.executeSendRequestInternal
(URISE url, HttpHeaders headers, TextMessage message) RestTemplateXhrTransport.executeSendRequestInternal
(URISE url, HttpHeaders headers, TextMessage message) protected ResponseEntity<StringSE>
UndertowXhrTransport.executeSendRequestInternal
(URISE url, HttpHeaders headers, TextMessage message) org.springframework.web.socket.sockjs.transport.session 内の HttpHeaders 使用
修飾子と型メソッド説明AbstractHttpSockJsSession.getHandshakeHeaders()
WebSocketServerSockJsSession.getHandshakeHeaders()
org.springframework.web.util 内の HttpHeaders 使用
修飾子と型メソッド説明static UriComponentsBuilder
ForwardedHeaderUtils.adaptFromForwardedHeaders
(URISE uri, HttpHeaders headers) static InetSocketAddressSE
ForwardedHeaderUtils.parseForwardedFor
(URISE uri, HttpHeaders headers, InetSocketAddressSE remoteAddress) 最初の「転送済み」を解析します: クライアントのアドレスを表すInetSocketAddress
への for =... " または " X-Forwarded-For " ヘッダー値。
HandshakeInfo(URI, HttpHeaders, MultiValueMap, Mono, String, InetSocketAddress, Map, String)
を推奨