程序包的使用
org.springframework.web.reactive.function.client
使用org.springframework.web.reactive.function.client的程序包 程序包 说明 org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.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.client.support Classes supporting theorg.springframework.web.reactive.function.clientpackage.org.springframework.test.web.reactive.server使用的org.springframework.web.reactive.function.client中的类 类 说明 ExchangeFilterFunction Represents a function that filters an exchange function.ExchangeStrategies Provides strategies for use in anExchangeFunction.ExchangeStrategies.Builder A mutable builder for anExchangeStrategies.org.springframework.web.reactive.function.client使用的org.springframework.web.reactive.function.client中的类 类 说明 ClientRequest Represents a typed, immutable, client-side HTTP request, as executed by theExchangeFunction.ClientRequest.Builder Defines a builder for a request.ClientResponse Represents an HTTP response, as returned byWebClientand alsoExchangeFunction.ClientResponse.Builder Defines a builder for a response.ClientResponse.Headers Represents the headers of the HTTP response.ExchangeFilterFunction Represents a function that filters an exchange function.ExchangeFunction Represents a function that exchanges a request for a (delayed) ClientResponse.ExchangeStrategies Provides strategies for use in anExchangeFunction.ExchangeStrategies.Builder A mutable builder for anExchangeStrategies.WebClient Non-blocking, reactive client to perform HTTP requests, exposing a fluent, reactive API over underlying HTTP client libraries such as Reactor Netty.WebClient.Builder A mutable builder for creating aWebClient.WebClient.RequestBodySpec Contract for specifying request headers and body leading up to the exchange.WebClient.RequestBodyUriSpec Contract for specifying request headers, body and URI for a request.WebClient.RequestHeadersSpec Contract for specifying request headers leading up to the exchange.WebClient.RequestHeadersUriSpec Contract for specifying request headers and URI for a request.WebClient.ResponseSpec Contract for specifying response operations following the exchange.WebClient.UriSpec Contract for specifying the URI for a request.WebClientException Abstract base class for exception published byWebClientin case of errors.WebClientResponseException Exceptions that contain actual HTTP response data.org.springframework.web.reactive.function.client.support使用的org.springframework.web.reactive.function.client中的类 类 说明 ClientResponse Represents an HTTP response, as returned byWebClientand alsoExchangeFunction.ClientResponse.Headers Represents the headers of the HTTP response.ExchangeStrategies Provides strategies for use in anExchangeFunction.WebClientResponseException Exceptions that contain actual HTTP response data.