if (logger.isDebugEnabled()) {
logger.debug("{}.writeTo({}, {}, {}) being called", new Object[] {
Integer.toHexString(System.identityHashCode(dataContentHandler)), entity, rawType,
responseMediaType.toString(), outputStream});
}
dataContentHandler.writeTo(entity, responseMediaType.toString(), outputStream);
logger.debug("Flushing headers if not written");
outputStream.flushHeaders();
}
@SuppressWarnings("unchecked")