String responseContentType = getResponseContentType();
logger.debug("setResponseContentType(\"{0}\")", responseContentType);
externalContext.setResponseContentType(responseContentType);
}
else if (incongruousAction == IncongruousAction.WRITE_RESPONSE_OUTPUT_WRITER) {
DelayedResponseOutputWriter delayedResponseOutputWriter = (DelayedResponseOutputWriter)
getResponseOutputWriter();
String delayedOutput = delayedResponseOutputWriter.toString();
logger.debug("writing responseOutputWriter, delayedOutput=[{0}]", delayedOutput);
if ((delayedOutput != null) && (delayedOutput.length() > 0)) {
Writer outputWriter = externalContext.getResponseOutputWriter();
outputWriter.write(delayedOutput);