クラスの使用
org.springframework.http.HttpMethod
パッケージ
説明
クライアント / サーバー側 HTTP の基本的な抽象化が含まれています。
クライアント側の HTTP 上の抽象化が含まれています。
このパッケージは、RestTemplate などの高レベルクラスで使用される汎用 HTTP サポートクラスを提供します。
サーバー側の HTTP 上の抽象化が含まれています。
クライアント側の HTTP 抽象化のモック実装。
リアクティブ HTTP クライアント契約のモック実装。
リアクティブ HTTP サーバー契約のモック実装。
Spring の Web MVC フレームワークでの使用を対象とした、サーブレット API 6.0 モックオブジェクトの包括的なセット。
関数 Web フレームワークのモックオブジェクト。
クライアント側の REST テストサポートが含まれています。
ビルトイン
RequestMatcher
実装が含まれています。WebTestClient
を介した Spring WebFlux サーバーエンドポイントのテストのサポート。 サーバーリクエスト処理のための
MockMvc
を使用した WebTestClient
を介した Spring MVC アプリケーションのテストのサポート。 ビルトイン
RequestBuilder
実装が含まれています。Spring の Web インフラストラクチャと他のフレームワークモジュール間の最小境界点を定義する一般的な汎用インターフェース。
リクエストをコントローラーおよびハンドラーメソッドにバインドするためのアノテーションと、リクエストパラメーターをメソッド引数にバインドするためのアノテーション。
クライアント側の Web サポートのコアパッケージ。
一般的なリクエストコンテキストの保持、特に HTTP リクエストまたは HTTP セッションごとのアプリケーションオブジェクトのスコープのサポート。
一般的な
CorsProcessor
戦略に基づく、CORS(クロスオリジンリソースシェアリング)のサポート。 一般的な
CorsProcessor
戦略に基づく、CORS(クロスオリジンリソースシェアリング)のリアクティブサポート。 ファイルのアップロードを処理するためのマルチパート解決フレームワーク。
マルチパート解決フレームワークのサポートクラス。
org.springframework.http.client.reactive
リアクティブ HTTP アダプター層上に構築されるリアクティブ WebClient
を提供します。Spring のリアクティブ環境用の関数 Web フレームワークを構成する型を提供します。
org.springframework.web.reactive.function.server
パッケージをサポートするクラス。Spring の一般的なリアクティブ Web サポートのコアインターフェースとクラス。
HttpExchange
メソッドでアノテーションが付けられた HTTP サービスのクライアントプロキシを作成するためのサポート。Spring のサーブレット環境用の関数 Web フレームワークを構成する型を提供します。
静的リソースを提供するためのサポートクラス。
AbstractSockJsService
実装を含む SockJS のサポートクラス。 受信リクエストを処理するための
TransportHandler
実装、さまざまなトランスポートを介してメッセージを送信するための session
の実装、および DefaultSockJsService
を含む SockJS トランスポートのサーバー側サポート。org.springframework.http 内の HttpMethod 使用
修飾子と型フィールド説明static final HttpMethod
HttpMethod.DELETE
HTTP メソッドDELETE
。static final HttpMethod
HttpMethod.GET
HTTP メソッドGET
。static final HttpMethod
HttpMethod.HEAD
HTTP メソッドHEAD
。static final HttpMethod
HttpMethod.OPTIONS
HTTP メソッドOPTIONS
。static final HttpMethod
HttpMethod.PATCH
HTTP メソッドPATCH
。static final HttpMethod
HttpMethod.POST
HTTP メソッドPOST
。static final HttpMethod
HttpMethod.PUT
HTTP メソッドPUT
。static final HttpMethod
HttpMethod.TRACE
HTTP メソッドTRACE
。修飾子と型メソッド説明HttpHeaders.getAccessControlRequestMethod()
Access-Control-Request-Method
リクエストヘッダーの値を返します。HttpRequest.getMethod()
リクエストの HTTP メソッドを返します。RequestEntity.getMethod()
リクエストの HTTP メソッドを返します。static HttpMethod
指定された値のHttpMethod
オブジェクトを返します。static HttpMethod[]
HttpMethod.values()
標準の HTTP メソッドを含む配列を返します。修飾子と型メソッド説明HttpHeaders.getAccessControlAllowMethods()
Access-Control-Allow-Methods
レスポンスヘッダーの値を返します。HttpHeaders.getAllow()
Allow
ヘッダーで指定されている、許可されたHTTP methods
のセットを返します。修飾子と型メソッド説明ResponseEntity.HeadersBuilder.allow
(HttpMethod... allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。int
HttpMethod.compareTo
(HttpMethod other) static RequestEntity.BodyBuilder
RequestEntity.method
(HttpMethod method, StringSE uriTemplate, ObjectSE... uriVariables) 指定された HTTP メソッド、URI テンプレート、変数を使用してビルダーを作成します。static RequestEntity.BodyBuilder
RequestEntity.method
(HttpMethod method, StringSE uriTemplate, MapSE<StringSE, ?> uriVariables) 指定された HTTP メソッド、URI テンプレート、変数を使用してビルダーを作成します。static RequestEntity.BodyBuilder
RequestEntity.method
(HttpMethod method, URISE url) 指定されたメソッドと URL でビルダーを作成します。void
HttpHeaders.setAccessControlRequestMethod
(HttpMethod requestMethod) Access-Control-Request-Method
リクエストヘッダーの(新しい)値を設定します。修飾子と型メソッド説明void
HttpHeaders.setAccessControlAllowMethods
(ListSE<HttpMethod> allowedMethods) Access-Control-Allow-Methods
レスポンスヘッダーの(新しい)値を設定します。void
HttpHeaders.setAllow
(SetSE<HttpMethod> allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。修飾子コンストラクター説明RequestEntity
(HttpMethod method, URISE url) メソッドと URL はあるが、本文もヘッダーもないコンストラクター。RequestEntity
(MultiValueMap<StringSE, StringSE> headers, HttpMethod method, URISE url) メソッド、URL、ヘッダーはあるが本文はないコンストラクター。RequestEntity
(T body, HttpMethod method, URISE url) メソッド、URL、ボディはあるがヘッダーはないコンストラクター。RequestEntity
(T body, HttpMethod method, URISE url, TypeSE type) メソッド、URL、ボディ、型はあるがヘッダーはないコンストラクター。RequestEntity
(T body, MultiValueMap<StringSE, StringSE> headers, HttpMethod method, URISE url) メソッド、URL、ヘッダー、本文を含むコンストラクター。RequestEntity
(T body, MultiValueMap<StringSE, StringSE> headers, HttpMethod method, URISE url, TypeSE type) メソッド、URL、ヘッダー、ボディ、型を持つコンストラクター。org.springframework.http.client 内の HttpMethod 使用
修飾子と型メソッド説明protected org.apache.hc.core5.http.protocol.HttpContext
HttpComponentsClientHttpRequestFactory.createHttpContext
(HttpMethod httpMethod, URISE uri) 指定された HTTP メソッドと URI のHttpContext
を作成するテンプレートメソッド。protected org.apache.hc.core5.http.ClassicHttpRequest
HttpComponentsClientHttpRequestFactory.createHttpUriRequest
(HttpMethod httpMethod, URISE uri) 指定された HTTP メソッドと URI 仕様の Commons HttpMethodBase オブジェクトを作成します。final ClientHttpRequest
AbstractClientHttpRequestFactoryWrapper.createRequest
(URISE uri, HttpMethod httpMethod) この実装は、コンストラクターに提供されたラップされたリクエストファクトリを使用してAbstractClientHttpRequestFactoryWrapper.createRequest(URI, HttpMethod, ClientHttpRequestFactory)
を呼び出すだけです。protected abstract ClientHttpRequest
AbstractClientHttpRequestFactoryWrapper.createRequest
(URISE uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory) 渡されたリクエストファクトリを使用して、指定された URI および HTTP メソッドの新しいClientHttpRequest
を作成します。protected ClientHttpRequest
BufferingClientHttpRequestFactory.createRequest
(URISE uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory) ClientHttpRequestFactory.createRequest
(URISE uri, HttpMethod httpMethod) 指定された URI および HTTP メソッドの新しいClientHttpRequest
を作成します。HttpComponentsClientHttpRequestFactory.createRequest
(URISE uri, HttpMethod httpMethod) protected ClientHttpRequest
InterceptingClientHttpRequestFactory.createRequest
(URISE uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory) JdkClientHttpRequestFactory.createRequest
(URISE uri, HttpMethod httpMethod) JettyClientHttpRequestFactory.createRequest
(URISE uri, HttpMethod httpMethod) OkHttp3ClientHttpRequestFactory.createRequest
(URISE uri, HttpMethod httpMethod) 非推奨、削除予定: この API 要素は、将来のバージョンで削除される可能性があります。ReactorNettyClientRequestFactory.createRequest
(URISE uri, HttpMethod httpMethod) SimpleClientHttpRequestFactory.createRequest
(URISE uri, HttpMethod httpMethod) protected boolean
BufferingClientHttpRequestFactory.shouldBuffer
(URISE uri, HttpMethod httpMethod) 指定された URI およびメソッドのリクエスト / レスポンス交換をメモリにバッファリングする必要があるかどうかを示します。修飾子と型メソッド説明void
HttpComponentsClientHttpRequestFactory.setHttpContextFactory
(BiFunctionSE<HttpMethod, URISE, org.apache.hc.core5.http.protocol.HttpContext> httpContextFactory) リクエストごとにHttpContext
を事前に作成するようにファクトリを構成します。org.springframework.http.client.reactive 内の HttpMethod 使用
修飾子と型メソッド説明ClientHttpRequest.getMethod()
リクエストの HTTP メソッドを返します。ClientHttpRequestDecorator.getMethod()
修飾子と型メソッド説明reactor.core.publisher.Mono<ClientHttpResponse>
ClientHttpConnector.connect
(HttpMethod method, URISE uri, FunctionSE<? super ClientHttpRequest, reactor.core.publisher.Mono<VoidSE>> requestCallback) 指定されたHttpMethod
とURI
を使用してオリジンサーバーに接続し、基になる API の HTTP リクエストを初期化して書き込むことができるときに指定されたrequestCallback
を適用します。reactor.core.publisher.Mono<ClientHttpResponse>
HttpComponentsClientHttpConnector.connect
(HttpMethod method, URISE uri, FunctionSE<? super ClientHttpRequest, reactor.core.publisher.Mono<VoidSE>> requestCallback) reactor.core.publisher.Mono<ClientHttpResponse>
JdkClientHttpConnector.connect
(HttpMethod method, URISE uri, FunctionSE<? super ClientHttpRequest, reactor.core.publisher.Mono<VoidSE>> requestCallback) reactor.core.publisher.Mono<ClientHttpResponse>
JettyClientHttpConnector.connect
(HttpMethod method, URISE uri, FunctionSE<? super ClientHttpRequest, reactor.core.publisher.Mono<VoidSE>> requestCallback) reactor.core.publisher.Mono<ClientHttpResponse>
ReactorClientHttpConnector.connect
(HttpMethod method, URISE uri, FunctionSE<? super ClientHttpRequest, reactor.core.publisher.Mono<VoidSE>> requestCallback) reactor.core.publisher.Mono<ClientHttpResponse>
ReactorNetty2ClientHttpConnector.connect
(HttpMethod method, URISE uri, FunctionSE<? super ClientHttpRequest, reactor.core.publisher.Mono<VoidSE>> requestCallback) 修飾子コンストラクター説明HttpComponentsClientHttpConnector
(CloseableHttpAsyncClient client, BiFunctionSE<HttpMethod, URISE, ? extends HttpClientContext> contextProvider) 事前構成されたCloseableHttpAsyncClient
インスタンスと、各リクエストの前に呼び出され、クライアントに渡されるHttpClientContext
サプライヤーラムダを持つコンストラクター。org.springframework.http.client.support 内の HttpMethod 使用
修飾子と型メソッド説明protected ClientHttpRequest
HttpAccessor.createRequest
(URISE url, HttpMethod method) このテンプレートのClientHttpRequestFactory
を介して新しいClientHttpRequest
を作成します。org.springframework.http.server 内の HttpMethod 使用
org.springframework.http.server.reactive 内の HttpMethod 使用
修飾子コンストラクター説明AbstractServerHttpRequest
(HttpMethod method, URISE uri, StringSE contextPath, MultiValueMap<StringSE, StringSE> headers) リクエストのメソッド、URI、ヘッダーを持つコンストラクター。org.springframework.mock.http.client 内の HttpMethod 使用
修飾子コンストラクター説明MockClientHttpRequest
(HttpMethod httpMethod, StringSE uriTemplate, ObjectSE... vars) 指定されたHttpMethod
、URI テンプレート、URI テンプレート変数値でMockClientHttpRequest
を作成します。MockClientHttpRequest
(HttpMethod httpMethod, URISE uri) org.springframework.mock.http.client.reactive 内の HttpMethod 使用
修飾子コンストラクター説明MockClientHttpRequest
(HttpMethod httpMethod, StringSE urlTemplate, ObjectSE... vars) MockClientHttpRequest
(HttpMethod httpMethod, URISE url) org.springframework.mock.http.server.reactive 内の HttpMethod 使用
修飾子と型メソッド説明MockServerHttpRequest.method
(HttpMethod method, StringSE uri, ObjectSE... vars) URI テンプレートを受け入れるMockServerHttpRequest.method(HttpMethod, URI)
の代替。MockServerHttpRequest.method
(HttpMethod method, URISE url) 指定された HTTP メソッドとURI
SE でビルダーを作成します。org.springframework.mock.web 内の HttpMethod 使用
org.springframework.mock.web.reactive.function.server 内の HttpMethod 使用
org.springframework.test.web.client 内の HttpMethod 使用
org.springframework.test.web.client.match 内の HttpMethod 使用
修飾子と型メソッド説明static RequestMatcher
MockRestRequestMatchers.method
(HttpMethod method) リクエストのHttpMethod
をアサートします。org.springframework.test.web.reactive.server 内の HttpMethod 使用
修飾子と型メソッド説明reactor.core.publisher.Mono<ClientHttpResponse>
HttpHandlerConnector.connect
(HttpMethod httpMethod, URISE uri, FunctionSE<? super ClientHttpRequest, reactor.core.publisher.Mono<VoidSE>> requestCallback) WebTestClient.method
(HttpMethod method) 指定されたHttpMethod
のリクエストを準備します。org.springframework.test.web.servlet.client 内の HttpMethod 使用
修飾子と型メソッド説明reactor.core.publisher.Mono<ClientHttpResponse>
MockMvcHttpConnector.connect
(HttpMethod method, URISE uri, FunctionSE<? super ClientHttpRequest, reactor.core.publisher.Mono<VoidSE>> requestCallback) org.springframework.test.web.servlet.request 内の HttpMethod 使用
修飾子と型メソッド説明MockMvcRequestBuilders.multipart
(HttpMethod httpMethod, StringSE urlTemplate, ObjectSE... uriVariables) HttpMethod
も受け入れるMockMvcRequestBuilders.multipart(String, Object...)
のバリアント。MockMvcRequestBuilders.multipart
(HttpMethod httpMethod, URISE uri) MockMvcRequestBuilders.request
(HttpMethod method, StringSE urlTemplate, ObjectSE... uriVariables) 指定された HTTP メソッドでリクエストのMockHttpServletRequestBuilder
を作成します。MockMvcRequestBuilders.request
(HttpMethod httpMethod, URISE uri) 指定された HTTP メソッドでリクエストのMockHttpServletRequestBuilder
を作成します。org.springframework.web 内の HttpMethod 使用
修飾子と型メソッド説明HttpRequestMethodNotSupportedException.getSupportedHttpMethods()
実際にサポートされている HTTP メソッドをHttpMethod
インスタンス、または不明の場合はnull
として返します。修飾子コンストラクター説明HttpMediaTypeNotSupportedException
(MediaType contentType, ListSE<MediaType> mediaTypes, HttpMethod httpMethod) 新しい HttpMediaTypeNotSupportedException を作成します。HttpMediaTypeNotSupportedException
(MediaType contentType, ListSE<MediaType> supportedMediaTypes, HttpMethod httpMethod, StringSE message) 新しい HttpMediaTypeNotSupportedException を作成します。org.springframework.web.bind.annotation 内の HttpMethod 使用
修飾子と型メソッド説明static RequestMethod
RequestMethod.resolve
(HttpMethod httpMethod) 指定されたHttpMethod
をRequestMethod
列挙値に解決します。org.springframework.web.client 内の HttpMethod 使用
修飾子と型メソッド説明RestOperations.optionsForAllow
(StringSE url, ObjectSE... uriVariables) 指定された URI のAllow
ヘッダーの値を返します。RestOperations.optionsForAllow
(StringSE url, MapSE<StringSE, ?> uriVariables) 指定された URI のAllow
ヘッダーの値を返します。RestOperations.optionsForAllow
(URISE url) 指定された URL のAllow
ヘッダーの値を返します。RestTemplate.optionsForAllow
(StringSE url, ObjectSE... uriVariables) RestTemplate.optionsForAllow
(StringSE url, MapSE<StringSE, ?> uriVariables) RestTemplate.optionsForAllow
(URISE url) 修飾子と型メソッド説明protected <T> T
RestTemplate.doExecute
(URISE url, StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) 指定された URI で指定されたメソッドを実行します。protected <T> T
RestTemplate.doExecute
(URISE url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) 使用すべきではありません。<T> ResponseEntity<T>
RestOperations.exchange
(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType, ObjectSE... uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntity
として返します。<T> ResponseEntity<T>
RestOperations.exchange
(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType, MapSE<StringSE, ?> uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntity
として返します。<T> ResponseEntity<T>
RestOperations.exchange
(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, ObjectSE... uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntity
として返します。<T> ResponseEntity<T>
RestOperations.exchange
(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, MapSE<StringSE, ?> uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntity
として返します。<T> ResponseEntity<T>
RestOperations.exchange
(URISE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntity
として返します。<T> ResponseEntity<T>
RestOperations.exchange
(URISE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType) 指定された URI テンプレートに対して HTTP メソッドを実行し、指定されたリクエストエンティティをリクエストに書き込み、レスポンスをResponseEntity
として返します。<T> ResponseEntity<T>
RestTemplate.exchange
(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType, ObjectSE... uriVariables) <T> ResponseEntity<T>
RestTemplate.exchange
(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType, MapSE<StringSE, ?> uriVariables) <T> ResponseEntity<T>
RestTemplate.exchange
(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, ObjectSE... uriVariables) <T> ResponseEntity<T>
RestTemplate.exchange
(StringSE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, MapSE<StringSE, ?> uriVariables) <T> ResponseEntity<T>
RestTemplate.exchange
(URISE url, HttpMethod method, HttpEntity<?> requestEntity, ClassSE<T> responseType) <T> ResponseEntity<T>
RestTemplate.exchange
(URISE url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType) <T> T
RestOperations.execute
(StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, ObjectSE... uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、RequestCallback
を使用してリクエストを準備し、ResponseExtractor
を使用してレスポンスを読み取ります。<T> T
RestOperations.execute
(StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, MapSE<StringSE, ?> uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、RequestCallback
を使用してリクエストを準備し、ResponseExtractor
を使用してレスポンスを読み取ります。<T> T
RestOperations.execute
(URISE url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) 指定された URL に対して HTTP メソッドを実行し、RequestCallback
を使用してリクエストを準備し、ResponseExtractor
を使用してレスポンスを読み取ります。<T> T
RestTemplate.execute
(StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, ObjectSE... uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、RequestCallback
を使用してリクエストを準備し、ResponseExtractor
を使用してレスポンスを読み取ります。<T> T
RestTemplate.execute
(StringSE uriTemplate, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, MapSE<StringSE, ?> uriVariables) 指定された URI テンプレートに対して HTTP メソッドを実行し、RequestCallback
を使用してリクエストを準備し、ResponseExtractor
を使用してレスポンスを読み取ります。<T> T
RestTemplate.execute
(URISE url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor) 指定された URL に対して HTTP メソッドを実行し、RequestCallback
を使用してリクエストを準備し、ResponseExtractor
を使用してレスポンスを読み取ります。default void
ResponseErrorHandler.handleError
(URISE url, HttpMethod method, ClientHttpResponse response) リクエスト URL および HTTP メソッドへのアクセスを提供する追加情報を持つResponseErrorHandler.handleError(ClientHttpResponse)
の代替。protected void
RestTemplate.handleResponse
(URISE url, HttpMethod method, ClientHttpResponse response) 指定されたレスポンスを処理し、適切なロギングを実行し、必要に応じてResponseErrorHandler
を呼び出します。RestClient.method
(HttpMethod method) 指定されたHttpMethod
のリクエストの構築を開始します。org.springframework.web.context.request 内の HttpMethod 使用
org.springframework.web.cors 内の HttpMethod 使用
修飾子と型メソッド説明CorsConfiguration.checkHttpMethod
(HttpMethod requestMethod) HTTP リクエストメソッド(またはプリフライトリクエストのAccess-Control-Request-Method
ヘッダーのメソッド)を、構成された許可されたメソッドと照合します。protected ListSE<HttpMethod>
DefaultCorsProcessor.checkMethods
(CorsConfiguration config, HttpMethod requestMethod) HTTP メソッドを確認し、プリフライトリクエストのレスポンスのメソッドを決定します。修飾子と型メソッド説明void
CorsConfiguration.addAllowedMethod
(HttpMethod method) 許可されたメソッドを一度に 1 つずつ追加するためのCorsConfiguration.setAllowedMethods(java.util.List<java.lang.String>)
のバリアント。CorsConfiguration.checkHttpMethod
(HttpMethod requestMethod) HTTP リクエストメソッド(またはプリフライトリクエストのAccess-Control-Request-Method
ヘッダーのメソッド)を、構成された許可されたメソッドと照合します。protected ListSE<HttpMethod>
DefaultCorsProcessor.checkMethods
(CorsConfiguration config, HttpMethod requestMethod) HTTP メソッドを確認し、プリフライトリクエストのレスポンスのメソッドを決定します。org.springframework.web.cors.reactive 内の HttpMethod 使用
修飾子と型メソッド説明protected ListSE<HttpMethod>
DefaultCorsProcessor.checkMethods
(CorsConfiguration config, HttpMethod requestMethod) HTTP メソッドを確認し、プリフライトリクエストのレスポンスのメソッドを決定します。修飾子と型メソッド説明protected ListSE<HttpMethod>
DefaultCorsProcessor.checkMethods
(CorsConfiguration config, HttpMethod requestMethod) HTTP メソッドを確認し、プリフライトリクエストのレスポンスのメソッドを決定します。org.springframework.web.multipart 内の HttpMethod 使用
修飾子と型メソッド説明MultipartHttpServletRequest.getRequestMethod()
このリクエストのメソッドを便利な HttpMethod インスタンスとして返します。org.springframework.web.multipart.support 内の HttpMethod 使用
org.springframework.web.reactive.function.client 内の HttpMethod 使用
修飾子と型メソッド説明WebClientRequestException.getMethod()
HTTP リクエストメソッドを返します。ClientRequest.method()
HTTP メソッドを返します。修飾子と型メソッド説明static ClientRequest.Builder
ClientRequest.create
(HttpMethod method, URISE url) 指定された HTTP メソッドと URL を使用してリクエストビルダーを作成します。ClientRequest.Builder.method
(HttpMethod method) リクエストのメソッドを設定します。static ClientRequest.Builder
ClientRequest.method
(HttpMethod method, URISE url) 使用すべきではありません。WebClient.method
(HttpMethod method) 指定されたHttpMethod
のリクエストの構築を開始します。修飾子コンストラクター説明WebClientRequestException
(ThrowableSE ex, HttpMethod method, URISE uri, HttpHeaders headers) スロー可能のコンストラクター。org.springframework.web.reactive.function.server 内の HttpMethod 使用
修飾子と型メソッド説明EntityResponse.Builder.allow
(HttpMethod... allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。ServerResponse.HeadersBuilder.allow
(HttpMethod... allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。static RequestPredicate
RequestPredicates.method
(HttpMethod httpMethod) リクエストの HTTP メソッドが指定されたメソッドと等しい場合に一致するRequestPredicate
を返します。ServerRequest.Builder.method
(HttpMethod method) リクエストのメソッドを設定します。static RequestPredicate
RequestPredicates.methods
(HttpMethod... httpMethods) リクエストの HTTP メソッドが指定されたメソッドの 1 つと等しい場合に一致するRequestPredicate
を返します。修飾子と型メソッド説明EntityResponse.Builder.allow
(SetSE<HttpMethod> allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。ServerResponse.HeadersBuilder.allow
(SetSE<HttpMethod> allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。void
RequestPredicates.Visitor.method
(SetSE<HttpMethod> methods) HTTP メソッド述語の通知を受け取ります。org.springframework.web.reactive.function.server.support 内の HttpMethod 使用
org.springframework.web.server 内の HttpMethod 使用
修飾子コンストラクター説明MethodNotAllowedException
(HttpMethod method, CollectionSE<HttpMethod> supportedMethods) UnsupportedMediaTypeStatusException
(MediaType contentType, ListSE<MediaType> supportedTypes, ResolvableType bodyType, HttpMethod method) 特定の Java 型からエンコードまたはデコードしようとする場合のコンストラクター。UnsupportedMediaTypeStatusException
(MediaType contentType, ListSE<MediaType> supportedTypes, HttpMethod method) HTTP メソッドを提供するコンストラクター。修飾子コンストラクター説明MethodNotAllowedException
(StringSE method, CollectionSE<HttpMethod> supportedMethods) MethodNotAllowedException
(HttpMethod method, CollectionSE<HttpMethod> supportedMethods) org.springframework.web.service.invoker 内の HttpMethod 使用
修飾子と型メソッド説明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) HttpRequestValues.Builder.setHttpMethod
(HttpMethod httpMethod) リクエストの HTTP メソッドを設定します。ReactiveHttpRequestValues.Builder.setHttpMethod
(HttpMethod httpMethod) 修飾子コンストラクター説明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.function 内の HttpMethod 使用
修飾子と型メソッド説明EntityResponse.Builder.allow
(HttpMethod... allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。ServerResponse.HeadersBuilder.allow
(HttpMethod... allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。static RequestPredicate
RequestPredicates.method
(HttpMethod httpMethod) リクエストの HTTP メソッドが指定されたメソッドと等しい場合に一致するRequestPredicate
を返します。ServerRequest.Builder.method
(HttpMethod method) リクエストのメソッドを設定します。static RequestPredicate
RequestPredicates.methods
(HttpMethod... httpMethods) リクエストの HTTP メソッドが指定されたメソッドの 1 つと等しい場合に一致するRequestPredicate
を返します。修飾子と型メソッド説明EntityResponse.Builder.allow
(SetSE<HttpMethod> allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。ServerResponse.HeadersBuilder.allow
(SetSE<HttpMethod> allowedMethods) Allow
ヘッダーの指定に従って、許可されたHTTP methods
のセットを設定します。void
RequestPredicates.Visitor.method
(SetSE<HttpMethod> methods) HTTP メソッド述語の通知を受け取ります。org.springframework.web.servlet.resource 内の HttpMethod 使用
org.springframework.web.socket.sockjs.support 内の HttpMethod 使用
修飾子と型メソッド説明protected boolean
AbstractSockJsService.checkOrigin
(ServerHttpRequest request, ServerHttpResponse response, HttpMethod... httpMethods) protected void
AbstractSockJsService.sendMethodNotAllowed
(ServerHttpResponse response, HttpMethod... httpMethods) org.springframework.web.socket.sockjs.transport 内の HttpMethod 使用
RestTemplate.doExecute(URI, String, HttpMethod, RequestCallback, ResponseExtractor)
を推奨