Interface ContentTypeHeaderAware

    • Method Detail

      • getContentTypeHeader

        String getContentTypeHeader()
        Whether the data format should set the Content-Type header with the type from the data format.

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

      • setContentTypeHeader

        void setContentTypeHeader​(String contentTypeHeader)
        Whether the data format should set the Content-Type header with the type from the data format.

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