|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.lists.FilterConsumer gnu.kawa.xml.HttpPrinter gnu.kawa.servlet.ServletPrinter
public class ServletPrinter
A Consumer that sends output to a ServletResponse. This is the initial result destination when running a KawaServlet.
Field Summary |
---|
Fields inherited from class gnu.kawa.xml.HttpPrinter |
---|
ostream, sawContentType |
Fields inherited from class gnu.lists.FilterConsumer |
---|
attributeType, base, inAttribute, skipping |
Constructor Summary | |
---|---|
ServletPrinter(javax.servlet.http.HttpServletResponse response)
|
|
ServletPrinter(java.io.OutputStream ostream)
|
Method Summary | |
---|---|
void |
addHeader(java.lang.String label,
java.lang.String value)
|
void |
printHeaders()
|
Methods inherited from class gnu.kawa.xml.HttpPrinter |
---|
append, append, beginData, endAttribute, endDocument, endElement, make, printHeader, startAttribute, startDocument, startElement, write, writeObject |
Methods inherited from class gnu.lists.FilterConsumer |
---|
beforeContent, ignoring, write, write, write, writeBoolean, writeDouble, writeFloat, writeInt, writeLong |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletPrinter(javax.servlet.http.HttpServletResponse response) throws java.io.IOException
java.io.IOException
public ServletPrinter(java.io.OutputStream ostream)
Method Detail |
---|
public void addHeader(java.lang.String label, java.lang.String value)
addHeader
in class HttpPrinter
public void printHeaders()
printHeaders
in class HttpPrinter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |