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.
|
java.util.List<HttpMessageReader<?>> |
messageReaders()
Return
HttpMessageReaders to read and decode the response body with. |
java.util.List<HttpMessageWriter<?>> |
messageWriters()
Return
HttpMessageWriters to write and encode the request body with. |
static ExchangeStrategies |
withDefaults()
Return a new
ExchangeStrategies with default configuration
provided by ClientCodecConfigurer . |
java.util.List<HttpMessageReader<?>> messageReaders()
HttpMessageReaders
to read and decode the response body with.java.util.List<HttpMessageWriter<?>> messageWriters()
HttpMessageWriters
to write and encode the request body with.static ExchangeStrategies withDefaults()
ExchangeStrategies
with default configuration
provided by ClientCodecConfigurer
.static ExchangeStrategies.Builder builder()
withDefaults()
but returns a mutable builder
for further customizations.static ExchangeStrategies.Builder empty()