HtmlResponseWriter is an Html specific implementation of the ResponseWriter abstract class. Kudos to Adam Winer (Oracle) for much of this code.
ResponseWriter
589590591592593594595596597598599
rw = new XhtmlResponseWriter(writer, contentType, characterEncoding); } else { assert _HTML_MIME_TYPE.equals(contentType); rw = new HtmlResponseWriter(writer, characterEncoding); } RenderingContext rc = RenderingContext.getCurrentInstance(); if (rc == null) {
530531532533534535536537538539540
rw = new XhtmlResponseWriter(writer, contentType, characterEncoding); } else { assert _HTML_MIME_TYPE.equals(contentType); rw = new HtmlResponseWriter(writer, characterEncoding); } return _addDebugResponseWriters(rw); } catch (IOException ioe)
592593594595596597598599600601602
591592593594595596597598599600601
582583584585586587588589590591592