Package org.apache.myfaces.push
Class HtmlBufferResponseWriterWrapper
- java.lang.Object
- 
- java.io.Writer
- 
- jakarta.faces.context.ResponseWriter
- 
- org.apache.myfaces.renderkit.html.HtmlResponseWriterImpl
- 
- org.apache.myfaces.push.HtmlBufferResponseWriterWrapper
 
 
 
 
- 
- All Implemented Interfaces:
- Closeable,- Flushable,- Appendable,- AutoCloseable
 
 public class HtmlBufferResponseWriterWrapper extends HtmlResponseWriterImpl A buffer for content which should not directly be rendered to the page.- Version:
- $Revision: 169649 $ $Date: 2005-05-11 17:47:12 +0200 (Wed, 11 May 2005) $
- Author:
- Sylvain Vieujot (latest modification by $Author: grantsmith $)
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseWritergetInitialWriter()Get the writer that should have originally been written to.static HtmlBufferResponseWriterWrappergetInstance(ResponseWriter initialWriter)Create an instance of the HtmlBufferResponseWriterWrapperStringtoString()Get the content of the buffer.- 
Methods inherited from class org.apache.myfaces.renderkit.html.HtmlResponseWriterImplcloneWithWriter, close, endCDATA, endDocument, endElement, flush, forceFlush, getCharacterEncoding, getContentType, getFacesContext, getInternalBuffer, getInternalBuffer, getWrapScriptContentWithXmlCommentTag, getWriterContentTypeMode, startCDATA, startDocument, startElement, supportsContentType, write, write, write, write, write, writeAttribute, writeComment, writeText, writeText, writeText, writeURIAttribute
 - 
Methods inherited from class jakarta.faces.context.ResponseWriterwriteDoctype, writePreamble
 - 
Methods inherited from class java.io.Writerappend, append, append, nullWriter
 
- 
 
- 
- 
- 
Method Detail- 
getInitialWriterpublic ResponseWriter getInitialWriter() Get the writer that should have originally been written to.- Returns:
- The original writer.
 
 - 
getInstancepublic static HtmlBufferResponseWriterWrapper getInstance(ResponseWriter initialWriter) Create an instance of the HtmlBufferResponseWriterWrapper- Parameters:
- initialWriter- The writer the content should have originally gone to, this will only be used to copy settings.
- Returns:
- A properly initialized writer which stores the output in a buffer; writer is wrapped.
 
 
- 
 
-