Uses of Interface
org.springframework.http.client.reactive.ClientHttpResponse
Packages that use ClientHttpResponse
Package
Description
Abstractions for reactive HTTP client support including
ClientHttpRequest
and
ClientHttpResponse
as well as a
ClientHttpConnector
.Mock implementations of reactive HTTP client contracts.
Support for testing Spring WebFlux server endpoints via
WebTestClient
.Support for testing Spring MVC applications via
WebTestClient
with MockMvc
for server request
handling.Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.Classes supporting the
org.springframework.web.reactive.function.client
package.-
Uses of ClientHttpResponse in org.springframework.http.client.reactive
Classes in org.springframework.http.client.reactive that implement ClientHttpResponseModifier and TypeClassDescriptionclass
Base class forClientHttpResponse
implementations.class
Wraps anotherClientHttpResponse
and delegates all methods to it.Methods in org.springframework.http.client.reactive that return ClientHttpResponseMethods in org.springframework.http.client.reactive that return types with arguments of type ClientHttpResponseModifier and TypeMethodDescriptionreactor.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 givenHttpMethod
andURI
and apply the givenrequestCallback
when the HTTP request of the underlying API can be initialized and written to.reactor.core.publisher.Mono<ClientHttpResponse>
HttpComponentsClientHttpConnector.connect
(HttpMethod method, URI uri, Function<? super ClientHttpRequest, reactor.core.publisher.Mono<Void>> requestCallback) reactor.core.publisher.Mono<ClientHttpResponse>
JdkClientHttpConnector.connect
(HttpMethod method, URI uri, Function<? super ClientHttpRequest, reactor.core.publisher.Mono<Void>> requestCallback) 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) reactor.core.publisher.Mono<ClientHttpResponse>
ReactorNetty2ClientHttpConnector.connect
(HttpMethod method, URI uri, Function<? super ClientHttpRequest, reactor.core.publisher.Mono<Void>> requestCallback) Constructors in org.springframework.http.client.reactive with parameters of type ClientHttpResponse -
Uses of ClientHttpResponse in org.springframework.mock.http.client.reactive
Classes in org.springframework.mock.http.client.reactive that implement ClientHttpResponse -
Uses of ClientHttpResponse in org.springframework.test.web.reactive.server
Subinterfaces of ClientHttpResponse in org.springframework.test.web.reactive.serverModifier and TypeInterfaceDescriptioninterface
SimpleClientHttpResponse
extension that also exposes a result object from the underlying mock server exchange for further assertions on the state of the server response after the request is performed.Methods in org.springframework.test.web.reactive.server that return ClientHttpResponseModifier and TypeMethodDescriptionHttpHandlerConnector.FailureAfterResponseCompletedException.getCompletedResponse()
Methods in org.springframework.test.web.reactive.server that return types with arguments of type ClientHttpResponseModifier and TypeMethodDescriptionreactor.core.publisher.Mono<ClientHttpResponse>
HttpHandlerConnector.connect
(HttpMethod httpMethod, URI uri, Function<? super ClientHttpRequest, reactor.core.publisher.Mono<Void>> requestCallback) -
Uses of ClientHttpResponse in org.springframework.test.web.servlet.client
Methods in org.springframework.test.web.servlet.client that return types with arguments of type ClientHttpResponseModifier and TypeMethodDescriptionreactor.core.publisher.Mono<ClientHttpResponse>
MockMvcHttpConnector.connect
(HttpMethod method, URI uri, Function<? super ClientHttpRequest, reactor.core.publisher.Mono<Void>> requestCallback) -
Uses of ClientHttpResponse in org.springframework.web.reactive.function.client
Method parameters in org.springframework.web.reactive.function.client with type arguments of type ClientHttpResponseModifier and TypeMethodDescription<T> T
ClientResponse.body
(BodyExtractor<T, ? super ClientHttpResponse> extractor) Extract the body with the givenBodyExtractor
.<T> reactor.core.publisher.Mono<ResponseEntity<reactor.core.publisher.Flux<T>>>
WebClient.ResponseSpec.toEntityFlux
(BodyExtractor<reactor.core.publisher.Flux<T>, ? super ClientHttpResponse> bodyExtractor) Variant ofWebClient.ResponseSpec.toEntityFlux(Class)
with aBodyExtractor
. -
Uses of ClientHttpResponse in org.springframework.web.reactive.function.client.support
Method parameters in org.springframework.web.reactive.function.client.support with type arguments of type ClientHttpResponseModifier and TypeMethodDescription<T> T
ClientResponseWrapper.body
(BodyExtractor<T, ? super ClientHttpResponse> extractor)