public class ServletPrinter extends HttpPrinter
ostream, sawContentTypeattributeType, base, inAttribute, skipping| Constructor and Description |
|---|
ServletPrinter(HttpRequestContext hctx,
int bufSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(java.lang.String label,
java.lang.String value) |
void |
printHeaders() |
boolean |
reset(boolean headersAlso)
Try to reset (delete) any response generated so far.
|
beforeNode, beginData, endAttribute, endDocument, endElement, make, printHeader, startAttribute, startDocument, startElement, write, write, writeObjectappend, append, append, beforeContent, beginEntity, endEntity, ignoring, write, write, writeBoolean, writeCDATA, writeComment, writeDouble, writeFloat, writeInt, writeLong, writeProcessingInstructionpublic ServletPrinter(HttpRequestContext hctx, int bufSize) throws java.io.IOException
java.io.IOExceptionpublic void addHeader(java.lang.String label,
java.lang.String value)
addHeader in class HttpPrinterpublic void printHeaders()
printHeaders in class HttpPrinterpublic boolean reset(boolean headersAlso)
HttpPrinterreset in class HttpPrinterheadersAlso - if response headers should also be reset.