private static class DefaultExchangeStrategiesBuilder.DefaultExchangeStrategies extends java.lang.Object implements ExchangeStrategies
ExchangeStrategies.Builder
Modifier and Type | Field and Description |
---|---|
private java.util.List<HttpMessageReader<?>> |
messageReaders |
private java.util.List<HttpMessageWriter<?>> |
messageWriters |
Constructor and Description |
---|
DefaultExchangeStrategies(java.util.List<HttpMessageReader<?>> messageReaders,
java.util.List<HttpMessageWriter<?>> messageWriters) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Supplier<java.util.stream.Stream<HttpMessageReader<?>>> |
messageReaders()
Supply a stream of
HttpMessageReader s to be used for request
body conversion. |
java.util.function.Supplier<java.util.stream.Stream<HttpMessageWriter<?>>> |
messageWriters()
Supply a stream of
HttpMessageWriter s to be used for response
body conversion. |
private static <T> java.util.List<T> |
unmodifiableCopy(java.util.List<? extends T> list) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, builder, empty, of, of, withDefaults
private final java.util.List<HttpMessageReader<?>> messageReaders
private final java.util.List<HttpMessageWriter<?>> messageWriters
public DefaultExchangeStrategies(java.util.List<HttpMessageReader<?>> messageReaders, java.util.List<HttpMessageWriter<?>> messageWriters)
private static <T> java.util.List<T> unmodifiableCopy(java.util.List<? extends T> list)
public java.util.function.Supplier<java.util.stream.Stream<HttpMessageReader<?>>> messageReaders()
ExchangeStrategies
HttpMessageReader
s to be used for request
body conversion.messageReaders
in interface ExchangeStrategies
public java.util.function.Supplier<java.util.stream.Stream<HttpMessageWriter<?>>> messageWriters()
ExchangeStrategies
HttpMessageWriter
s to be used for response
body conversion.messageWriters
in interface ExchangeStrategies