Package jakarta.faces.context
Class ResponseWriterWrapper
- java.lang.Object
- 
- java.io.Writer
- 
- jakarta.faces.context.ResponseWriter
- 
- jakarta.faces.context.ResponseWriterWrapper
 
 
 
- 
- All Implemented Interfaces:
- FacesWrapper<ResponseWriter>,- Closeable,- Flushable,- Appendable,- AutoCloseable
 - Direct Known Subclasses:
- PartialResponseWriter
 
 public abstract class ResponseWriterWrapper extends ResponseWriter implements FacesWrapper<ResponseWriter> see Javadoc of JSF Specification
- 
- 
Constructor SummaryConstructors Constructor Description ResponseWriterWrapper()Deprecated.ResponseWriterWrapper(ResponseWriter delegate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseWritercloneWithWriter(Writer writer)voidclose()voidendCDATA()voidendDocument()voidendElement(String name)voidflush()StringgetCharacterEncoding()StringgetContentType()ResponseWritergetWrapped()A class that implements this interface uses this method to return an instance of the class being wrapped.voidstartCDATA()voidstartDocument()voidstartElement(String name, UIComponent component)voidwrite(char[] cbuf, int off, int len)voidwriteAttribute(String name, Object value, String property)voidwriteComment(Object comment)voidwriteDoctype(String doctype)voidwritePreamble(String preamble)voidwriteText(char[] text, int off, int len)voidwriteText(Object object, UIComponent component, String string)voidwriteText(Object text, String property)voidwriteURIAttribute(String name, Object value, String property)
 
- 
- 
- 
Constructor Detail- 
ResponseWriterWrapper@Deprecated public ResponseWriterWrapper() Deprecated.
 - 
ResponseWriterWrapperpublic ResponseWriterWrapper(ResponseWriter delegate) 
 
- 
 - 
Method Detail- 
cloneWithWriterpublic ResponseWriter cloneWithWriter(Writer writer) - Specified by:
- cloneWithWriterin class- ResponseWriter
 
 - 
closepublic void close() throws IOException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Specified by:
- closein class- Writer
- Throws:
- IOException
 
 - 
endCDATApublic void endCDATA() throws IOException- Overrides:
- endCDATAin class- ResponseWriter
- Throws:
- IOException
 
 - 
endDocumentpublic void endDocument() throws IOException- Specified by:
- endDocumentin class- ResponseWriter
- Throws:
- IOException
 
 - 
endElementpublic void endElement(String name) throws IOException - Specified by:
- endElementin class- ResponseWriter
- Throws:
- IOException
 
 - 
flushpublic void flush() throws IOException- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- ResponseWriter
- Throws:
- IOException
 
 - 
getCharacterEncodingpublic String getCharacterEncoding() - Specified by:
- getCharacterEncodingin class- ResponseWriter
 
 - 
getContentTypepublic String getContentType() - Specified by:
- getContentTypein class- ResponseWriter
 
 - 
getWrappedpublic ResponseWriter getWrapped() Description copied from interface:FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.- Specified by:
- getWrappedin interface- FacesWrapper<ResponseWriter>
- Returns:
- the instance of the class being wrapped
 
 - 
startCDATApublic void startCDATA() throws IOException- Overrides:
- startCDATAin class- ResponseWriter
- Throws:
- IOException
 
 - 
startDocumentpublic void startDocument() throws IOException- Specified by:
- startDocumentin class- ResponseWriter
- Throws:
- IOException
 
 - 
startElementpublic void startElement(String name, UIComponent component) throws IOException - Specified by:
- startElementin class- ResponseWriter
- Throws:
- IOException
 
 - 
writepublic void write(char[] cbuf, int off, int len) throws IOException- Specified by:
- writein class- Writer
- Throws:
- IOException
 
 - 
writeAttributepublic void writeAttribute(String name, Object value, String property) throws IOException - Specified by:
- writeAttributein class- ResponseWriter
- Throws:
- IOException
 
 - 
writeCommentpublic void writeComment(Object comment) throws IOException - Specified by:
- writeCommentin class- ResponseWriter
- Throws:
- IOException
 
 - 
writeTextpublic void writeText(char[] text, int off, int len) throws IOException- Specified by:
- writeTextin class- ResponseWriter
- Throws:
- IOException
 
 - 
writeTextpublic void writeText(Object text, String property) throws IOException - Specified by:
- writeTextin class- ResponseWriter
- Throws:
- IOException
 
 - 
writeTextpublic void writeText(Object object, UIComponent component, String string) throws IOException - Overrides:
- writeTextin class- ResponseWriter
- Throws:
- IOException
 
 - 
writeURIAttributepublic void writeURIAttribute(String name, Object value, String property) throws IOException - Specified by:
- writeURIAttributein class- ResponseWriter
- Throws:
- IOException
 
 - 
writeDoctypepublic void writeDoctype(String doctype) throws IOException - Overrides:
- writeDoctypein class- ResponseWriter
- Throws:
- IOException
 
 - 
writePreamblepublic void writePreamble(String preamble) throws IOException - Overrides:
- writePreamblein class- ResponseWriter
- Throws:
- IOException
 
 
- 
 
-