Constructor and Description |
---|
ExchangeFunctions() |
Modifier and Type | Method and Description |
---|---|
static ExchangeFunction |
create(ClientHttpConnector connector)
Create a new
ExchangeFunction with the given connector. |
static ExchangeFunction |
create(ClientHttpConnector connector,
ExchangeStrategies strategies)
Create a new
ExchangeFunction with the given connector and strategies. |
public static ExchangeFunction create(ClientHttpConnector connector)
ExchangeFunction
with the given connector. This method uses
default strategies.connector
- the connector to create connectionspublic static ExchangeFunction create(ClientHttpConnector connector, ExchangeStrategies strategies)
ExchangeFunction
with the given connector and strategies.connector
- the connector to create connectionsstrategies
- the strategies to use