public interface ExchangeStrategies
ExchangeFunction
.
To create an instance, see the static methods withDefaults()
,
builder()
, and empty()
.
Modifier and Type | Interface and Description |
---|---|
static interface |
ExchangeStrategies.Builder
A mutable builder for an
ExchangeStrategies . |
Modifier and Type | Method and Description |
---|---|
static ExchangeStrategies.Builder |
builder()
Return a builder pre-configured with default configuration to start.
|
static ExchangeStrategies.Builder |
empty()
Return a builder with empty configuration to start.
|
List<HttpMessageReader<?>> |
messageReaders()
Return
HttpMessageReaders to read and decode the response body with. |
List<HttpMessageWriter<?>> |
messageWriters()
Return
HttpMessageWriters to write and encode the request body with. |
default ExchangeStrategies.Builder |
mutate()
Return a builder to create a new
ExchangeStrategies instance
replicated from the current instance. |
static ExchangeStrategies |
withDefaults()
Return an
ExchangeStrategies instance with default configuration
provided by ClientCodecConfigurer . |
List<HttpMessageReader<?>> messageReaders()
HttpMessageReaders
to read and decode the response body with.List<HttpMessageWriter<?>> messageWriters()
HttpMessageWriters
to write and encode the request body with.default ExchangeStrategies.Builder mutate()
ExchangeStrategies
instance
replicated from the current instance.static ExchangeStrategies withDefaults()
ExchangeStrategies
instance with default configuration
provided by ClientCodecConfigurer
.static ExchangeStrategies.Builder builder()
withDefaults()
but returns a mutable builder
for further customizations.static ExchangeStrategies.Builder empty()