Interface ExchangeStrategies


public interface ExchangeStrategies
Defines the strategies to request and response body conversion.
  • Method Details

    • writers

      List<WriterStrategy<?>> writers()
      Retrieve the list of writer strategies to convert a request body.
      Returns:
      a list of writer strategies
    • readers

      List<ReaderStrategy<?>> readers()
      Retrieve the list of reader strategies to convert a response body.
      Returns:
      a list of reader strategies
    • jackson

      static ExchangeStrategies jackson(ObjectMapper mapper)
      Return an ExchangeStrategies using the defaults for processing JSON requests using Jackson.
      Parameters:
      mapper - the Jackson object mapper
      Returns:
      the built strategies