public interface ExchangeStrategies
ExchangeFunction
s. An instance of
this class is immutable; instances are typically created through the mutable ExchangeStrategies.Builder
:
either through builder()
to set up default strategies, or empty()
to start
from scratch.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 mutable builder for a
ExchangeStrategies with default initialization. |
static ExchangeStrategies.Builder |
empty()
Return a mutable, empty builder for a
ExchangeStrategies . |
List<HttpMessageReader<?>> |
messageReaders()
Return the
HttpMessageReader s to be used for request body conversion. |
List<HttpMessageWriter<?>> |
messageWriters()
Return the
HttpMessageWriter s to be used for response body conversion. |
static ExchangeStrategies |
withDefaults()
Return a new
ExchangeStrategies with default initialization. |
List<HttpMessageReader<?>> messageReaders()
HttpMessageReader
s to be used for request body conversion.List<HttpMessageWriter<?>> messageWriters()
HttpMessageWriter
s to be used for response body conversion.static ExchangeStrategies withDefaults()
ExchangeStrategies
with default initialization.ExchangeStrategies
static ExchangeStrategies.Builder builder()
ExchangeStrategies
with default initialization.static ExchangeStrategies.Builder empty()
ExchangeStrategies
.