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