Interface DataFormatContentTypeHeader


  • public interface DataFormatContentTypeHeader
    Special accessor for a DataFormat
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setContentTypeHeader​(boolean contentTypeHeader)
      Whether the data format should set the Content-Type header with the type from the data format if the data format is capable of doing so.
    • Method Detail

      • setContentTypeHeader

        void setContentTypeHeader​(boolean contentTypeHeader)
        Whether the data format should set the Content-Type header with the type from the data format if the data format is capable of doing so.

        For example application/xml for data formats marshalling to XML, or application/json for data formats marshalling to JSON etc.