Top Description Interfaces Classes Enums
module spring.webflux

Package org.springframework.web.reactive.function.client

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Provides a reactive org.springframework.web.reactive.function.client.WebClient that builds on top of the org.springframework.http.client.reactive reactive HTTP adapter layer.

Interface Summary

Modifier and TypeInterface and Description
public interface
ClientRequest

Represents a typed, immutable, client-side HTTP request, as executed by the ExchangeFunction.

public interface
public interface
ClientResponse

Represents an HTTP response, as returned by WebClient and also ExchangeFunction.

public interface
ExchangeFilterFunction

Represents a function that filters an exchange function.

public interface
ExchangeFunction

Represents a function that exchanges a request for a (delayed) ClientResponse.

public interface
ExchangeStrategies

Provides strategies for use in an ExchangeFunction.

public interface
WebClient

Non-blocking, reactive client to perform HTTP requests, exposing a fluent, reactive API over underlying HTTP client libraries such as Reactor Netty.

Class Summary

Modifier and TypeClass and Description
public class
ClientRequestObservationContext

Context that holds information for metadata collection during the HTTP client exchange observations.

pack-priv class
public class
pack-priv class
DefaultClientResponse

Default implementation of ClientResponse.

pack-priv class
pack-priv class
pack-priv class
DefaultWebClient

The default implementation of WebClient, as created by the static factory methods.

pack-priv class
DefaultWebClientBuilder

Default implementation of WebClient.Builder.

public abstract class
ExchangeFilterFunctions

Static factory methods providing access to built-in implementations of ExchangeFilterFunction for basic authentication, error handling, etc.

public abstract class
ExchangeFunctions

Static factory methods to create an ExchangeFunction.

public class
UnknownHttpStatusCodeException

Exception thrown when an unknown (or custom) HTTP status code is received.

public abstract class
WebClientException

Abstract base class for exception published by WebClient in case of errors.

public class
WebClientRequestException

Exceptions that contain actual HTTP request data.

public class
WebClientResponseException

Exceptions that contain actual HTTP response data.

pack-priv abstract class
WebClientUtils

Internal methods shared between DefaultWebClient and DefaultClientResponse.

Enum Summary

Modifier and TypeEnum and Description
public enum