Package org.springframework.web.reactive.function.client
@NonNullApi
@NonNullFields
package org.springframework.web.reactive.function.client
Provides a reactive
WebClient
that builds on top of the
org.springframework.http.client.reactive
reactive HTTP adapter layer.-
ClassDescriptionDocumented
KeyValues
for theHTTP client
observations.Represents a typed, immutable, client-side HTTP request, as executed by theExchangeFunction
.Defines a builder for a request.Context that holds information for metadata collection during theHTTP client exchange observations
.Interface for anObservationConvention
related toHTTP client exchange observations
.Represents an HTTP response, as returned byWebClient
and alsoExchangeFunction
.Defines a builder for a response.Represents the headers of the HTTP response.Default implementation for aClientRequestObservationConvention
, extracting information from theClientRequestObservationContext
.Represents a function that filters an exchange function.Static factory methods providing access to built-in implementations ofExchangeFilterFunction
for basic authentication, error handling, etc.Deprecated.Represents a function that exchanges a request for a (delayed) ClientResponse.Static factory methods to create anExchangeFunction
.Provides strategies for use in anExchangeFunction
.A mutable builder for anExchangeStrategies
.Exception thrown when an unknown (or custom) HTTP status code is received.Non-blocking, reactive client to perform HTTP requests, exposing a fluent, reactive API over underlying HTTP client libraries such as Reactor Netty.A mutable builder for creating aWebClient
.Contract for specifying request headers and body leading up to the exchange.Contract for specifying request headers, body and URI for a request.WebClient.RequestHeadersSpec<S extends WebClient.RequestHeadersSpec<S>>Contract for specifying request headers leading up to the exchange.WebClient.RequestHeadersUriSpec<S extends WebClient.RequestHeadersSpec<S>>Contract for specifying request headers and URI for a request.Contract for specifying response operations following the exchange.WebClient.UriSpec<S extends WebClient.RequestHeadersSpec<?>>Contract for specifying the URI for a request.Abstract base class for exception published byWebClient
in case of errors.Exceptions that contain actual HTTP request data.Exceptions that contain actual HTTP response data.WebClientResponseException
for HTTP status 502 Bad Gateway.WebClientResponseException
for status HTTP 400 Bad Request.WebClientResponseException
for status HTTP 409 Conflict.WebClientResponseException
for status HTTP 403 Forbidden.WebClientResponseException
for status HTTP 504 Gateway Timeout.WebClientResponseException
for status HTTP 410 Gone.WebClientResponseException
for status HTTP 500 Internal Server Error.WebClientResponseException
for status HTTP 405 Method Not Allowed.WebClientResponseException
for status HTTP 406 Not Acceptable.WebClientResponseException
for status HTTP 404 Not Found.WebClientResponseException
for status HTTP 501 Not Implemented.WebClientResponseException
for status HTTP 503 Service Unavailable.WebClientResponseException
for status HTTP 429 Too Many Requests.WebClientResponseException
for status HTTP 401 Unauthorized.WebClientResponseException
for status HTTP 422 Unprocessable Entity.WebClientResponseException
for status HTTP 415 Unsupported Media Type.
HttpHeaders.setBasicAuth(String, String)
while building the request.