List of usage examples for org.springframework.web.reactive.function.client ExchangeStrategies withDefaults
static ExchangeStrategies withDefaults()
From source file:org.springframework.web.reactive.function.client.ExchangeFunctions.java
/** * Create an {@code ExchangeFunction} with the given {@code ClientHttpConnector}. * This is the same as calling/* w ww . j a v a2 s . com*/ * {@link #create(ClientHttpConnector, ExchangeStrategies)} and passing * {@link ExchangeStrategies#withDefaults()}. * @param connector the connector to use for connecting to servers * @return the created {@code ExchangeFunction} */ public static ExchangeFunction create(ClientHttpConnector connector) { return create(connector, ExchangeStrategies.withDefaults()); }