Class BodyInserterContext
java.lang.Object
org.springframework.cloud.gateway.support.BodyInserterContext
- All Implemented Interfaces:
org.springframework.web.reactive.function.BodyInserter.Context
public class BodyInserterContext
extends Object
implements org.springframework.web.reactive.function.BodyInserter.Context
-
Constructor Summary
ConstructorsConstructorDescriptionBodyInserterContext(org.springframework.web.reactive.function.client.ExchangeStrategies exchangeStrategies) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.web.reactive.function.client.ExchangeStrategiesbuildExchangeStrategies(List<org.springframework.boot.http.codec.CodecCustomizer> codecCustomizers) Build anExchangeStrategiesinstance and apply all registeredCodecCustomizers.hints()List<org.springframework.http.codec.HttpMessageWriter<?>> Optional<org.springframework.http.server.reactive.ServerHttpRequest>
-
Constructor Details
-
BodyInserterContext
public BodyInserterContext() -
BodyInserterContext
public BodyInserterContext(org.springframework.web.reactive.function.client.ExchangeStrategies exchangeStrategies)
-
-
Method Details
-
buildExchangeStrategies
public static org.springframework.web.reactive.function.client.ExchangeStrategies buildExchangeStrategies(List<org.springframework.boot.http.codec.CodecCustomizer> codecCustomizers) Build anExchangeStrategiesinstance and apply all registeredCodecCustomizers. -
messageWriters
- Specified by:
messageWritersin interfaceorg.springframework.web.reactive.function.BodyInserter.Context
-
serverRequest
- Specified by:
serverRequestin interfaceorg.springframework.web.reactive.function.BodyInserter.Context
-
hints
-