Uses of Class
org.springframework.http.HttpMethod
Packages that use HttpMethod Package Description org.springframework.http Contains a basic abstraction over client/server-side HTTP.org.springframework.http.client Contains an abstraction over client-side HTTP.org.springframework.http.client.reactive Abstractions for reactive HTTP client support includingClientHttpRequestandClientHttpResponseas well as aClientHttpConnector.org.springframework.http.client.support This package provides generic HTTP support classes, to be used by higher-level classes like RestTemplate.org.springframework.http.server Contains an abstraction over server-side HTTP.org.springframework.http.server.reactive Abstractions for reactive HTTP server support including aServerHttpRequestandServerHttpResponsealong with anHttpHandlerfor processing.org.springframework.mock.http.client Mock implementations of client-side HTTP abstractions.org.springframework.mock.http.client.reactive Mock implementations of reactive HTTP client contracts.org.springframework.mock.http.server.reactive Mock implementations of reactive HTTP server contracts.org.springframework.mock.web A comprehensive set of Servlet API 4.0 mock objects, targeted at usage with Spring's Web MVC framework.org.springframework.mock.web.reactive.function.server Mock objects for the functional web framework.org.springframework.test.web.client Contains client-side REST testing support.org.springframework.test.web.client.match Contains built-inRequestMatcherimplementations.org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.org.springframework.test.web.servlet.request Contains built-inRequestBuilderimplementations.org.springframework.web Common, generic interfaces that define minimal boundary points between Spring's web infrastructure and other framework modules.org.springframework.web.client Core package of the client-side web support.org.springframework.web.context.request Support for generic request context holding, in particular for scoping of application objects per HTTP request or HTTP session.org.springframework.web.cors Support for CORS (Cross-Origin Resource Sharing), based on a commonCorsProcessorstrategy.org.springframework.web.cors.reactive Reactive support for CORS (Cross-Origin Resource Sharing), based on a commonCorsProcessorstrategy.org.springframework.web.multipart Multipart resolution framework for handling file uploads.org.springframework.web.multipart.support Support classes for the multipart resolution framework.org.springframework.web.reactive.function.client Provides a reactiveWebClientthat builds on top of theorg.springframework.http.client.reactivereactive HTTP adapter layer.org.springframework.web.reactive.function.server Provides the types that make up Spring's functional web framework for Reactive environments.org.springframework.web.reactive.function.server.support Classes supporting theorg.springframework.web.reactive.function.serverpackage.org.springframework.web.server Core interfaces and classes for Spring's generic, reactive web support.org.springframework.web.servlet.function Provides the types that make up Spring's functional web framework for Servlet environments.org.springframework.web.socket.sockjs.support Support classes for SockJS including anAbstractSockJsServiceimplementation.org.springframework.web.socket.sockjs.transport Server-side support for SockJS transports includingTransportHandlerimplementations for processing incoming requests, theirsessioncounterparts for sending messages over the various transports, andDefaultSockJsService.Uses of HttpMethod in org.springframework.http
Methods in org.springframework.http that return HttpMethod Modifier and Type Method Description HttpMethodHttpHeaders. getAccessControlRequestMethod()Return the value of theAccess-Control-Request-Methodrequest header.default HttpMethodHttpRequest. getMethod()Return the HTTP method of the request.HttpMethodRequestEntity. getMethod()Return the HTTP method of the request.static HttpMethodHttpMethod. resolve(String method)Resolve the given method value to anHttpMethod.static HttpMethodHttpMethod. valueOf(String name)Returns the enum constant of this type with the specified name.static HttpMethod[]HttpMethod. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.springframework.http that return types with arguments of type HttpMethod Modifier and Type Method Description List<HttpMethod>HttpHeaders. getAccessControlAllowMethods()Return the value of theAccess-Control-Allow-Methodsresponse header.Set<HttpMethod>HttpHeaders. getAllow()Return the set of allowedHTTP methods, as specified by theAllowheader.Methods in org.springframework.http with parameters of type HttpMethod Modifier and Type Method Description BResponseEntity.HeadersBuilder. allow(HttpMethod... allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.static RequestEntity.BodyBuilderRequestEntity. method(HttpMethod method, URI url)Create a builder with the given method and url.voidHttpHeaders. setAccessControlRequestMethod(HttpMethod requestMethod)Set the (new) value of theAccess-Control-Request-Methodrequest header.Method parameters in org.springframework.http with type arguments of type HttpMethod Modifier and Type Method Description voidHttpHeaders. setAccessControlAllowMethods(List<HttpMethod> allowedMethods)Set the (new) value of theAccess-Control-Allow-Methodsresponse header.voidHttpHeaders. setAllow(Set<HttpMethod> allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.Constructors in org.springframework.http with parameters of type HttpMethod Constructor Description RequestEntity(HttpMethod method, URI url)Constructor with method and URL but without body nor headers.RequestEntity(MultiValueMap<String,String> headers, HttpMethod method, URI url)Constructor with method, URL and headers but without body.RequestEntity(T body, HttpMethod method, URI url)Constructor with method, URL and body but without headers.RequestEntity(T body, HttpMethod method, URI url, Type type)Constructor with method, URL, body and type but without headers.RequestEntity(T body, MultiValueMap<String,String> headers, HttpMethod method, URI url)Constructor with method, URL, headers and body.RequestEntity(T body, MultiValueMap<String,String> headers, HttpMethod method, URI url, Type type)Constructor with method, URL, headers, body and type.Uses of HttpMethod in org.springframework.http.client
Methods in org.springframework.http.client with parameters of type HttpMethod Modifier and Type Method Description AsyncClientHttpRequestAsyncClientHttpRequestFactory. createAsyncRequest(URI uri, HttpMethod httpMethod)Deprecated.Create a new asynchronousAsyncClientHttpRequestfor the specified URI and HTTP method.AsyncClientHttpRequestHttpComponentsAsyncClientHttpRequestFactory. createAsyncRequest(URI uri, HttpMethod httpMethod)Deprecated.AsyncClientHttpRequestInterceptingAsyncClientHttpRequestFactory. createAsyncRequest(URI uri, HttpMethod method)Deprecated.AsyncClientHttpRequestNetty4ClientHttpRequestFactory. createAsyncRequest(URI uri, HttpMethod httpMethod)Deprecated.AsyncClientHttpRequestOkHttp3ClientHttpRequestFactory. createAsyncRequest(URI uri, HttpMethod httpMethod)AsyncClientHttpRequestSimpleClientHttpRequestFactory. createAsyncRequest(URI uri, HttpMethod httpMethod)Create a new asynchronousAsyncClientHttpRequestfor the specified URI and HTTP method.protected org.apache.http.protocol.HttpContextHttpComponentsClientHttpRequestFactory. createHttpContext(HttpMethod httpMethod, URI uri)Template methods that creates aHttpContextfor the given HTTP method and URI.protected HttpUriRequestHttpComponentsClientHttpRequestFactory. createHttpUriRequest(HttpMethod httpMethod, URI uri)Create a Commons HttpMethodBase object for the given HTTP method and URI specification.ClientHttpRequestAbstractClientHttpRequestFactoryWrapper. createRequest(URI uri, HttpMethod httpMethod)This implementation simply callsAbstractClientHttpRequestFactoryWrapper.createRequest(URI, HttpMethod, ClientHttpRequestFactory)with the wrapped request factory provided to the constructor.protected abstract ClientHttpRequestAbstractClientHttpRequestFactoryWrapper. createRequest(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory)Create a newClientHttpRequestfor the specified URI and HTTP method by using the passed-on request factory.protected ClientHttpRequestBufferingClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory)ClientHttpRequestClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod)Create a newClientHttpRequestfor the specified URI and HTTP method.ClientHttpRequestHttpComponentsClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod)protected ClientHttpRequestInterceptingClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod, ClientHttpRequestFactory requestFactory)ClientHttpRequestNetty4ClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod)Deprecated.ClientHttpRequestOkHttp3ClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod)ClientHttpRequestSimpleClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod)protected booleanBufferingClientHttpRequestFactory. shouldBuffer(URI uri, HttpMethod httpMethod)Indicates whether the request/response exchange for the given URI and method should be buffered in memory.Method parameters in org.springframework.http.client with type arguments of type HttpMethod Modifier and Type Method Description voidHttpComponentsClientHttpRequestFactory. setHttpContextFactory(BiFunction<HttpMethod,URI,org.apache.http.protocol.HttpContext> httpContextFactory)Configure a factory to pre-create theHttpContextfor each request.Uses of HttpMethod in org.springframework.http.client.reactive
Methods in org.springframework.http.client.reactive that return HttpMethod Modifier and Type Method Description HttpMethodClientHttpRequest. getMethod()Return the HTTP method of the request.HttpMethodClientHttpRequestDecorator. getMethod()Methods in org.springframework.http.client.reactive with parameters of type HttpMethod Modifier and Type Method Description reactor.core.publisher.Mono<ClientHttpResponse>ClientHttpConnector. connect(HttpMethod method, URI uri, Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback)Connect to the origin server using the givenHttpMethodandURIand apply the givenrequestCallbackwhen the HTTP request of the underlying API can be initialized and written to.reactor.core.publisher.Mono<ClientHttpResponse>JettyClientHttpConnector. connect(HttpMethod method, URI uri, Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback)reactor.core.publisher.Mono<ClientHttpResponse>ReactorClientHttpConnector. connect(HttpMethod method, URI uri, Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback)Uses of HttpMethod in org.springframework.http.client.support
Methods in org.springframework.http.client.support that return HttpMethod Modifier and Type Method Description HttpMethodHttpRequestWrapper. getMethod()Return the method of the wrapped request.Methods in org.springframework.http.client.support with parameters of type HttpMethod Modifier and Type Method Description protected AsyncClientHttpRequestAsyncHttpAccessor. createAsyncRequest(URI url, HttpMethod method)Deprecated.Create a newAsyncClientHttpRequestvia this template'sAsyncClientHttpRequestFactory.protected ClientHttpRequestHttpAccessor. createRequest(URI url, HttpMethod method)Create a newClientHttpRequestvia this template'sClientHttpRequestFactory.Uses of HttpMethod in org.springframework.http.server
Methods in org.springframework.http.server that return HttpMethod Modifier and Type Method Description HttpMethodServletServerHttpRequest. getMethod()Uses of HttpMethod in org.springframework.http.server.reactive
Methods in org.springframework.http.server.reactive that return HttpMethod Modifier and Type Method Description HttpMethodServerHttpRequestDecorator. getMethod()Methods in org.springframework.http.server.reactive with parameters of type HttpMethod Modifier and Type Method Description ServerHttpRequest.BuilderServerHttpRequest.Builder. method(HttpMethod httpMethod)Set the HTTP method to return.Uses of HttpMethod in org.springframework.mock.http.client
Methods in org.springframework.mock.http.client that return HttpMethod Modifier and Type Method Description HttpMethodMockClientHttpRequest. getMethod()Methods in org.springframework.mock.http.client with parameters of type HttpMethod Modifier and Type Method Description voidMockClientHttpRequest. setMethod(HttpMethod httpMethod)Constructors in org.springframework.mock.http.client with parameters of type HttpMethod Constructor Description MockAsyncClientHttpRequest(HttpMethod httpMethod, URI uri)Deprecated.MockClientHttpRequest(HttpMethod httpMethod, URI uri)Create an instance with the given HttpMethod and URI.Uses of HttpMethod in org.springframework.mock.http.client.reactive
Methods in org.springframework.mock.http.client.reactive that return HttpMethod Modifier and Type Method Description HttpMethodMockClientHttpRequest. getMethod()Constructors in org.springframework.mock.http.client.reactive with parameters of type HttpMethod Constructor Description MockClientHttpRequest(HttpMethod httpMethod, String urlTemplate, Object... vars)MockClientHttpRequest(HttpMethod httpMethod, URI url)Uses of HttpMethod in org.springframework.mock.http.server.reactive
Methods in org.springframework.mock.http.server.reactive that return HttpMethod Modifier and Type Method Description HttpMethodMockServerHttpRequest. getMethod()Methods in org.springframework.mock.http.server.reactive with parameters of type HttpMethod Modifier and Type Method Description static MockServerHttpRequest.BodyBuilderMockServerHttpRequest. method(HttpMethod method, String urlTemplate, Object... vars)Alternative toMockServerHttpRequest.method(HttpMethod, URI)that accepts a URI template.static MockServerHttpRequest.BodyBuilderMockServerHttpRequest. method(HttpMethod method, URI url)Create a builder with the given HTTP method and aURI.Uses of HttpMethod in org.springframework.mock.web
Methods in org.springframework.mock.web that return HttpMethod Modifier and Type Method Description HttpMethodMockMultipartHttpServletRequest. getRequestMethod()Uses of HttpMethod in org.springframework.mock.web.reactive.function.server
Methods in org.springframework.mock.web.reactive.function.server that return HttpMethod Modifier and Type Method Description HttpMethodMockServerRequest. method()Methods in org.springframework.mock.web.reactive.function.server with parameters of type HttpMethod Modifier and Type Method Description MockServerRequest.BuilderMockServerRequest.Builder. method(HttpMethod method)Uses of HttpMethod in org.springframework.test.web.client
Methods in org.springframework.test.web.client with parameters of type HttpMethod Modifier and Type Method Description AsyncClientHttpRequestMockMvcClientHttpRequestFactory. createAsyncRequest(URI uri, HttpMethod method)ClientHttpRequestMockMvcClientHttpRequestFactory. createRequest(URI uri, HttpMethod httpMethod)Uses of HttpMethod in org.springframework.test.web.client.match
Methods in org.springframework.test.web.client.match with parameters of type HttpMethod Modifier and Type Method Description static RequestMatcherMockRestRequestMatchers. method(HttpMethod method)Assert theHttpMethodof the request.Uses of HttpMethod in org.springframework.test.web.reactive.server
Methods in org.springframework.test.web.reactive.server that return HttpMethod Modifier and Type Method Description HttpMethodExchangeResult. getMethod()Return the method of the request.Methods in org.springframework.test.web.reactive.server with parameters of type HttpMethod Modifier and Type Method Description reactor.core.publisher.Mono<ClientHttpResponse>HttpHandlerConnector. connect(HttpMethod httpMethod, URI uri, Function<? super ClientHttpRequest,reactor.core.publisher.Mono<Void>> requestCallback)WebTestClient.RequestBodyUriSpecWebTestClient. method(HttpMethod method)Prepare a request for the specifiedHttpMethod.Uses of HttpMethod in org.springframework.test.web.servlet.request
Methods in org.springframework.test.web.servlet.request with parameters of type HttpMethod Modifier and Type Method Description static MockHttpServletRequestBuilderMockMvcRequestBuilders. request(HttpMethod method, String urlTemplate, Object... uriVars)Create aMockHttpServletRequestBuilderfor a request with the given HTTP method.static MockHttpServletRequestBuilderMockMvcRequestBuilders. request(HttpMethod httpMethod, URI uri)Create aMockHttpServletRequestBuilderfor a request with the given HTTP method.Uses of HttpMethod in org.springframework.web
Methods in org.springframework.web that return types with arguments of type HttpMethod Modifier and Type Method Description Set<HttpMethod>HttpRequestMethodNotSupportedException. getSupportedHttpMethods()Return the actually supported HTTP methods asHttpMethodinstances, ornullif not known.Uses of HttpMethod in org.springframework.web.client
Methods in org.springframework.web.client that return types with arguments of type HttpMethod Modifier and Type Method Description ListenableFuture<Set<HttpMethod>>AsyncRestOperations. optionsForAllow(String url, Object... uriVariables)Deprecated.Asynchronously return the value of the Allow header for the given URI.ListenableFuture<Set<HttpMethod>>AsyncRestOperations. optionsForAllow(String url, Map<String,?> uriVariables)Deprecated.Asynchronously return the value of the Allow header for the given URI.ListenableFuture<Set<HttpMethod>>AsyncRestOperations. optionsForAllow(URI url)Deprecated.Asynchronously return the value of the Allow header for the given URL.ListenableFuture<Set<HttpMethod>>AsyncRestTemplate. optionsForAllow(String url, Object... uriVars)Deprecated.ListenableFuture<Set<HttpMethod>>AsyncRestTemplate. optionsForAllow(String url, Map<String,?> uriVars)Deprecated.ListenableFuture<Set<HttpMethod>>AsyncRestTemplate. optionsForAllow(URI url)Deprecated.Set<HttpMethod>RestOperations. optionsForAllow(String url, Object... uriVariables)Return the value of the Allow header for the given URI.Set<HttpMethod>RestOperations. optionsForAllow(String url, Map<String,?> uriVariables)Return the value of the Allow header for the given URI.Set<HttpMethod>RestOperations. optionsForAllow(URI url)Return the value of the Allow header for the given URL.Set<HttpMethod>RestTemplate. optionsForAllow(String url, Object... uriVariables)Set<HttpMethod>RestTemplate. optionsForAllow(String url, Map<String,?> uriVariables)Set<HttpMethod>RestTemplate. optionsForAllow(URI url)Methods in org.springframework.web.client with parameters of type HttpMethod Modifier and Type Method Description protected <T> ListenableFuture<T>AsyncRestTemplate. doExecute(URI url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor)Deprecated.Execute the given method on the provided URI.protected <T> TRestTemplate. doExecute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor)Execute the given method on the provided URI.<T> ListenableFuture<ResponseEntity<T>>AsyncRestOperations. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Object... uriVariables)Deprecated.Asynchronously execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ListenableFuture<ResponseEntity<T>>AsyncRestOperations. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Map<String,?> uriVariables)Deprecated.Asynchronously execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ListenableFuture<ResponseEntity<T>>AsyncRestOperations. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Object... uriVariables)Deprecated.Asynchronously execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ListenableFuture<ResponseEntity<T>>AsyncRestOperations. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Map<String,?> uriVariables)Deprecated.Asynchronously execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ListenableFuture<ResponseEntity<T>>AsyncRestOperations. exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType)Deprecated.Asynchronously execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ListenableFuture<ResponseEntity<T>>AsyncRestOperations. exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType)Deprecated.Asynchronously execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ListenableFuture<ResponseEntity<T>>AsyncRestTemplate. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Object... uriVariables)Deprecated.<T> ListenableFuture<ResponseEntity<T>>AsyncRestTemplate. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Map<String,?> uriVariables)Deprecated.<T> ListenableFuture<ResponseEntity<T>>AsyncRestTemplate. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Object... uriVariables)Deprecated.<T> ListenableFuture<ResponseEntity<T>>AsyncRestTemplate. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Map<String,?> uriVariables)Deprecated.<T> ListenableFuture<ResponseEntity<T>>AsyncRestTemplate. exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType)Deprecated.<T> ListenableFuture<ResponseEntity<T>>AsyncRestTemplate. exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType)Deprecated.<T> ResponseEntity<T>RestOperations. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Object... uriVariables)Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Map<String,?> uriVariables)Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Object... uriVariables)Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Map<String,?> uriVariables)Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations. exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType)Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestOperations. exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType)Execute the HTTP method to the given URI template, writing the given request entity to the request, and returns the response asResponseEntity.<T> ResponseEntity<T>RestTemplate. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Object... uriVariables)<T> ResponseEntity<T>RestTemplate. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType, Map<String,?> uriVariables)<T> ResponseEntity<T>RestTemplate. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Object... uriVariables)<T> ResponseEntity<T>RestTemplate. exchange(String url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType, Map<String,?> uriVariables)<T> ResponseEntity<T>RestTemplate. exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, Class<T> responseType)<T> ResponseEntity<T>RestTemplate. exchange(URI url, HttpMethod method, HttpEntity<?> requestEntity, ParameterizedTypeReference<T> responseType)<T> ListenableFuture<T>AsyncRestOperations. execute(String url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables)Deprecated.Asynchronously execute the HTTP method to the given URI template, preparing the request with theAsyncRequestCallback, and reading the response with aResponseExtractor.<T> ListenableFuture<T>AsyncRestOperations. execute(String url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String,?> uriVariables)Deprecated.Asynchronously execute the HTTP method to the given URI template, preparing the request with theAsyncRequestCallback, and reading the response with aResponseExtractor.<T> ListenableFuture<T>AsyncRestOperations. execute(URI url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor)Deprecated.Asynchronously execute the HTTP method to the given URL, preparing the request with theAsyncRequestCallback, and reading the response with aResponseExtractor.<T> ListenableFuture<T>AsyncRestTemplate. execute(String url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables)Deprecated.<T> ListenableFuture<T>AsyncRestTemplate. execute(String url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String,?> uriVariables)Deprecated.<T> ListenableFuture<T>AsyncRestTemplate. execute(URI url, HttpMethod method, AsyncRequestCallback requestCallback, ResponseExtractor<T> responseExtractor)Deprecated.<T> TRestOperations. execute(String url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables)Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations. execute(String url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String,?> uriVariables)Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestOperations. execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor)Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate. execute(String url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Object... uriVariables)Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate. execute(String url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor, Map<String,?> uriVariables)Execute the HTTP method to the given URI template, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.<T> TRestTemplate. execute(URI url, HttpMethod method, RequestCallback requestCallback, ResponseExtractor<T> responseExtractor)Execute the HTTP method to the given URL, preparing the request with theRequestCallback, and reading the response with aResponseExtractor.default voidResponseErrorHandler. handleError(URI url, HttpMethod method, ClientHttpResponse response)Alternative toResponseErrorHandler.handleError(ClientHttpResponse)with extra information providing access to the request URL and HTTP method.protected voidRestTemplate. handleResponse(URI url, HttpMethod method, ClientHttpResponse response)Handle the given response, performing appropriate logging and invoking theResponseErrorHandlerif necessary.Uses of HttpMethod in org.springframework.web.context.request
Methods in org.springframework.web.context.request that return HttpMethod Modifier and Type Method Description HttpMethodServletWebRequest. getHttpMethod()Return the HTTP method of the request.Uses of HttpMethod in org.springframework.web.cors
Methods in org.springframework.web.cors that return types with arguments of type HttpMethod Modifier and Type Method Description List<HttpMethod>CorsConfiguration. checkHttpMethod(HttpMethod requestMethod)Check the HTTP request method (or the method from theAccess-Control-Request-Methodheader on a pre-flight request) against the configured allowed methods.protected List<HttpMethod>DefaultCorsProcessor. checkMethods(CorsConfiguration config, HttpMethod requestMethod)Check the HTTP method and determine the methods for the response of a pre-flight request.Methods in org.springframework.web.cors with parameters of type HttpMethod Modifier and Type Method Description voidCorsConfiguration. addAllowedMethod(HttpMethod method)Add an HTTP method to allow.List<HttpMethod>CorsConfiguration. checkHttpMethod(HttpMethod requestMethod)Check the HTTP request method (or the method from theAccess-Control-Request-Methodheader on a pre-flight request) against the configured allowed methods.protected List<HttpMethod>DefaultCorsProcessor. checkMethods(CorsConfiguration config, HttpMethod requestMethod)Check the HTTP method and determine the methods for the response of a pre-flight request.Uses of HttpMethod in org.springframework.web.cors.reactive
Methods in org.springframework.web.cors.reactive that return types with arguments of type HttpMethod Modifier and Type Method Description protected List<HttpMethod>DefaultCorsProcessor. checkMethods(CorsConfiguration config, HttpMethod requestMethod)Check the HTTP method and determine the methods for the response of a pre-flight request.Methods in org.springframework.web.cors.reactive with parameters of type HttpMethod Modifier and Type Method Description protected List<HttpMethod>DefaultCorsProcessor. checkMethods(CorsConfiguration config, HttpMethod requestMethod)Check the HTTP method and determine the methods for the response of a pre-flight request.Uses of HttpMethod in org.springframework.web.multipart
Methods in org.springframework.web.multipart that return HttpMethod Modifier and Type Method Description HttpMethodMultipartHttpServletRequest. getRequestMethod()Return this request's method as a convenient HttpMethod instance.Uses of HttpMethod in org.springframework.web.multipart.support
Methods in org.springframework.web.multipart.support that return HttpMethod Modifier and Type Method Description HttpMethodAbstractMultipartHttpServletRequest. getRequestMethod()Uses of HttpMethod in org.springframework.web.reactive.function.client
Methods in org.springframework.web.reactive.function.client that return HttpMethod Modifier and Type Method Description HttpMethodClientRequest. method()Return the HTTP method.Methods in org.springframework.web.reactive.function.client with parameters of type HttpMethod Modifier and Type Method Description static ClientRequest.BuilderClientRequest. create(HttpMethod method, URI url)Create a request builder with the given method and url.ClientRequest.BuilderClientRequest.Builder. method(HttpMethod method)Set the method of the request.static ClientRequest.BuilderClientRequest. method(HttpMethod method, URI url)Deprecated.in favor ofClientRequest.create(HttpMethod, URI)WebClient.RequestBodyUriSpecWebClient. method(HttpMethod method)Start building a request for the givenHttpMethod.Uses of HttpMethod in org.springframework.web.reactive.function.server
Methods in org.springframework.web.reactive.function.server that return HttpMethod Modifier and Type Method Description default HttpMethodServerRequest. method()Get the HTTP method.Methods in org.springframework.web.reactive.function.server with parameters of type HttpMethod Modifier and Type Method Description EntityResponse.Builder<T>EntityResponse.Builder. allow(HttpMethod... allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.BServerResponse.HeadersBuilder. allow(HttpMethod... allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.static RequestPredicateRequestPredicates. method(HttpMethod httpMethod)Return aRequestPredicatethat matches if the request's HTTP method is equal to the given method.ServerRequest.BuilderServerRequest.Builder. method(HttpMethod method)Set the method of the request.static RequestPredicateRequestPredicates. methods(HttpMethod... httpMethods)Return aRequestPredicatethat matches if the request's HTTP method is equal to one the of the given methods.Method parameters in org.springframework.web.reactive.function.server with type arguments of type HttpMethod Modifier and Type Method Description EntityResponse.Builder<T>EntityResponse.Builder. allow(Set<HttpMethod> allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.BServerResponse.HeadersBuilder. allow(Set<HttpMethod> allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.voidRequestPredicates.Visitor. method(Set<HttpMethod> methods)Receive notification of an HTTP method predicate.Uses of HttpMethod in org.springframework.web.reactive.function.server.support
Methods in org.springframework.web.reactive.function.server.support that return HttpMethod Modifier and Type Method Description HttpMethodServerRequestWrapper. method()Uses of HttpMethod in org.springframework.web.server
Methods in org.springframework.web.server that return types with arguments of type HttpMethod Modifier and Type Method Description Set<HttpMethod>MethodNotAllowedException. getSupportedMethods()Return the list of supported HTTP methods.Constructors in org.springframework.web.server with parameters of type HttpMethod Constructor Description MethodNotAllowedException(HttpMethod method, Collection<HttpMethod> supportedMethods)Constructor parameters in org.springframework.web.server with type arguments of type HttpMethod Constructor Description MethodNotAllowedException(String method, Collection<HttpMethod> supportedMethods)MethodNotAllowedException(HttpMethod method, Collection<HttpMethod> supportedMethods)Uses of HttpMethod in org.springframework.web.servlet.function
Methods in org.springframework.web.servlet.function that return HttpMethod Modifier and Type Method Description default HttpMethodServerRequest. method()Get the HTTP method.Methods in org.springframework.web.servlet.function with parameters of type HttpMethod Modifier and Type Method Description EntityResponse.Builder<T>EntityResponse.Builder. allow(HttpMethod... allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.BServerResponse.HeadersBuilder. allow(HttpMethod... allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.static RequestPredicateRequestPredicates. method(HttpMethod httpMethod)Return aRequestPredicatethat matches if the request's HTTP method is equal to the given method.ServerRequest.BuilderServerRequest.Builder. method(HttpMethod method)Set the method of the request.static RequestPredicateRequestPredicates. methods(HttpMethod... httpMethods)Return aRequestPredicatethat matches if the request's HTTP method is equal to one the of the given methods.Method parameters in org.springframework.web.servlet.function with type arguments of type HttpMethod Modifier and Type Method Description EntityResponse.Builder<T>EntityResponse.Builder. allow(Set<HttpMethod> allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.BServerResponse.HeadersBuilder. allow(Set<HttpMethod> allowedMethods)Set the set of allowedHTTP methods, as specified by theAllowheader.voidRequestPredicates.Visitor. method(Set<HttpMethod> methods)Receive notification of an HTTP method predicate.Uses of HttpMethod in org.springframework.web.socket.sockjs.support
Methods in org.springframework.web.socket.sockjs.support with parameters of type HttpMethod Modifier and Type Method Description protected booleanAbstractSockJsService. checkOrigin(ServerHttpRequest request, ServerHttpResponse response, HttpMethod... httpMethods)protected voidAbstractSockJsService. sendMethodNotAllowed(ServerHttpResponse response, HttpMethod... httpMethods)Uses of HttpMethod in org.springframework.web.socket.sockjs.transport
Methods in org.springframework.web.socket.sockjs.transport that return HttpMethod Modifier and Type Method Description HttpMethodTransportType. getHttpMethod()