Interface BodyExtractor.Context

Enclosing interface:
BodyExtractor<T,M extends org.springframework.http.ReactiveHttpInputMessage>

public static interface BodyExtractor.Context
Defines the context used during the extraction.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the map of hints to use to customize body extraction.
    List<org.springframework.http.codec.HttpMessageReader<?>>
    Return the HttpMessageReaders to be used for body extraction.
    Optional<org.springframework.http.server.reactive.ServerHttpResponse>
    Optionally return the ServerHttpResponse, if present.
  • Method Details

    • messageReaders

      List<org.springframework.http.codec.HttpMessageReader<?>> messageReaders()
      Return the HttpMessageReaders to be used for body extraction.
      Returns:
      the list of message readers
    • serverResponse

      Optional<org.springframework.http.server.reactive.ServerHttpResponse> serverResponse()
      Optionally return the ServerHttpResponse, if present.
    • hints

      Map<String,Object> hints()
      Return the map of hints to use to customize body extraction.