/** * Builds the value for the Content-Type header. The value is constructed out of data provided by the * Response Format Type. * * @param responseFormatType data object that contains information necessary to build the response headers * @return the value for the Content-Type header */ public String getContentTypeValue(ResponseFormatType responseFormatType) { return responseFormatType.getContentType() + "; charset=" + responseFormatType.getCharset(); }