Interface ExchangeStrategies
public interface ExchangeStrategies
Provides strategies for use in an 
ExchangeFunction.
 To create an instance, see the static methods withDefaults(),
 builder(), and empty().
- Since:
- 5.0
- Author:
- Brian Clozel, Arjen Poutsma
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA mutable builder for anExchangeStrategies.
- 
Method SummaryModifier and TypeMethodDescriptionstatic ExchangeStrategies.Builderbuilder()Return a builder pre-configured with default configuration to start.static ExchangeStrategies.Builderempty()Return a builder with empty configuration to start.ReturnHttpMessageReadersto read and decode the response body with.ReturnHttpMessageWritersto write and encode the request body with.default ExchangeStrategies.Buildermutate()Return a builder to create a newExchangeStrategiesinstance replicated from the current instance.static ExchangeStrategiesReturn anExchangeStrategiesinstance with default configuration provided byClientCodecConfigurer.
- 
Method Details- 
messageReadersList<HttpMessageReader<?>> messageReaders()ReturnHttpMessageReadersto read and decode the response body with.- Returns:
- the message readers
 
- 
messageWritersList<HttpMessageWriter<?>> messageWriters()ReturnHttpMessageWritersto write and encode the request body with.- Returns:
- the message writers
 
- 
mutateReturn a builder to create a newExchangeStrategiesinstance replicated from the current instance.- Since:
- 5.1.12
 
- 
withDefaultsReturn anExchangeStrategiesinstance with default configuration provided byClientCodecConfigurer.
- 
builderReturn a builder pre-configured with default configuration to start. This is the same aswithDefaults()but returns a mutable builder for further customizations.
- 
emptyReturn a builder with empty configuration to start.
 
-