public abstract class ExchangeFunctions
extends java.lang.Object
ExchangeFunction
.Constructor and Description |
---|
ExchangeFunctions() |
Modifier and Type | Method and Description |
---|---|
static ExchangeFunction |
create(ClientHttpConnector connector)
Create an
ExchangeFunction with the given ClientHttpConnector . |
static ExchangeFunction |
create(ClientHttpConnector connector,
ExchangeStrategies strategies)
Create an
ExchangeFunction with the given
ClientHttpConnector and ExchangeStrategies . |
public static ExchangeFunction create(ClientHttpConnector connector)
ExchangeFunction
with the given ClientHttpConnector
.
This is the same as calling
create(ClientHttpConnector, ExchangeStrategies)
and passing
ExchangeStrategies.withDefaults()
.connector
- the connector to use for connecting to serversExchangeFunction
public static ExchangeFunction create(ClientHttpConnector connector, ExchangeStrategies strategies)
ExchangeFunction
with the given
ClientHttpConnector
and ExchangeStrategies
.connector
- the connector to use for connecting to serversstrategies
- the ExchangeStrategies
to useExchangeFunction