Interface ContentTypeHeaderAware
-
- All Known Implementing Classes:
FhirDataformat
,FhirJsonDataFormat
,FhirXmlDataFormat
,JacksonXMLDataFormat
,JaxbDataFormat
,JsonDataFormat
,ProtobufDataFormat
,ThriftDataFormat
,XStreamDataFormat
public interface ContentTypeHeaderAware
Data format that is capable of using content type header.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getContentTypeHeader()
Whether the data format should set the Content-Type header with the type from the data format.void
setContentTypeHeader(String contentTypeHeader)
Whether the data format should set the Content-Type header with the type from the data format.
-
-
-
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.
-
-