org.richfaces.context
public class DeferredEndingPartialResponseWriter extends PartialResponseWriterWrapper
This PartialResponseWriter
wrapper doesn't end the document when endDocument()
is called to allow write own
partial-response extensions at the end of the document.
The method finallyEndDocument()
needs to be called to actually end the document.
Constructor and Description |
---|
DeferredEndingPartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
endDocument()
The invocation will be blocked, you need to call
finallyEndDocument() to actually end the document. |
void |
redirect(String url) |
void |
startError(String errorName) |
append, append, append, cloneWithWriter, close, delete, endCDATA, endElement, endError, endEval, endExtension, endInsert, endUpdate, flush, getCharacterEncoding, getContentType, getWrapped, startCDATA, startDocument, startElement, startEval, startExtension, startInsertAfter, startInsertBefore, startUpdate, updateAttributes, write, write, write, write, write, writeAttribute, writeComment, writeText, writeText, writeText, writeURIAttribute
public DeferredEndingPartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped)
public void endDocument() throws IOException
finallyEndDocument()
to actually end the document.endDocument
in class PartialResponseWriterWrapper
IOException
public void redirect(String url) throws IOException
redirect
in class PartialResponseWriterWrapper
IOException
public void startError(String errorName) throws IOException
startError
in class PartialResponseWriterWrapper
IOException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.