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
Constructors Constructor Description BodyInserterContext()BodyInserterContext(org.springframework.web.reactive.function.client.ExchangeStrategies exchangeStrategies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>hints()List<org.springframework.http.codec.HttpMessageWriter<?>>messageWriters()Optional<org.springframework.http.server.reactive.ServerHttpRequest>serverRequest()
-
-
-
Method Detail
-
messageWriters
public List<org.springframework.http.codec.HttpMessageWriter<?>> messageWriters()
- Specified by:
messageWritersin interfaceorg.springframework.web.reactive.function.BodyInserter.Context
-
serverRequest
public Optional<org.springframework.http.server.reactive.ServerHttpRequest> serverRequest()
- Specified by:
serverRequestin interfaceorg.springframework.web.reactive.function.BodyInserter.Context
-
-