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 Details

    • BodyInserterContext

      public BodyInserterContext()
    • BodyInserterContext

      public BodyInserterContext(org.springframework.web.reactive.function.client.ExchangeStrategies exchangeStrategies)
  • Method Details

    • messageWriters

      public List<org.springframework.http.codec.HttpMessageWriter<?>> messageWriters()
      Specified by:
      messageWriters in interface org.springframework.web.reactive.function.BodyInserter.Context
    • serverRequest

      public Optional<org.springframework.http.server.reactive.ServerHttpRequest> serverRequest()
      Specified by:
      serverRequest in interface org.springframework.web.reactive.function.BodyInserter.Context
    • hints

      public Map<String,Object> hints()
      Specified by:
      hints in interface org.springframework.web.reactive.function.BodyInserter.Context