org.richfaces.context
Class DeferredEndingPartialResponseWriter
java.lang.Object
java.io.Writer
javax.faces.context.ResponseWriter
javax.faces.context.ResponseWriterWrapper
javax.faces.context.PartialResponseWriter
org.richfaces.context.PartialResponseWriterWrapper
org.richfaces.context.DeferredEndingPartialResponseWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable, javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
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.
- Author:
- Lukas Fryc
Fields inherited from class javax.faces.context.PartialResponseWriter |
RENDER_ALL_MARKER, VIEW_STATE_MARKER |
Methods inherited from class org.richfaces.context.PartialResponseWriterWrapper |
append, append, append, cloneWithWriter, close, delete, endCDATA, endElement, endError, endEval, endExtension, endInsert, endUpdate, flush, getCharacterEncoding, getContentType, getWrapped, startCDATA, startDocument, startElement, startError, startEval, startExtension, startInsertAfter, startInsertBefore, startUpdate, updateAttributes, write, write, write, write, write, writeAttribute, writeComment, writeText, writeText, writeText, writeURIAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeferredEndingPartialResponseWriter
public DeferredEndingPartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped)
endDocument
public void endDocument()
throws IOException
- The invocation will be blocked, you need to call
finallyEndDocument()
to actually end the document.
- Overrides:
endDocument
in class PartialResponseWriterWrapper
- Throws:
IOException
redirect
public void redirect(String url)
throws IOException
- Overrides:
redirect
in class PartialResponseWriterWrapper
- Throws:
IOException
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.