Package jakarta.faces.context
Class ResponseWriter
java.lang.Object
java.io.Writer
jakarta.faces.context.ResponseWriter
- All Implemented Interfaces:
- Closeable,- Flushable,- Appendable,- AutoCloseable
- Direct Known Subclasses:
- ResponseWriterWrapper
see Javadoc of Faces Specification
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract ResponseWritercloneWithWriter(Writer writer) voidendCDATA()abstract voidabstract voidendElement(String name) abstract voidflush()abstract Stringabstract Stringvoidabstract voidabstract voidstartElement(String name, UIComponent component) abstract voidwriteAttribute(String name, Object value, String property) abstract voidwriteComment(Object comment) voidwriteDoctype(String doctype) voidwritePreamble(String preamble) abstract voidwriteText(char[] text, int off, int len) voidwriteText(Object object, UIComponent component, String string) abstract voidabstract voidwriteURIAttribute(String name, Object value, String property) 
- 
Constructor Details- 
ResponseWriterpublic ResponseWriter()
 
- 
- 
Method Details- 
getContentType
- 
getCharacterEncoding
- 
flush- Specified by:
- flushin interface- Flushable
- Specified by:
- flushin class- Writer
- Throws:
- IOException
 
- 
startDocument- Throws:
- IOException
 
- 
endDocument- Throws:
- IOException
 
- 
startElement- Throws:
- IOException
 
- 
endElement- Throws:
- IOException
 
- 
startCDATA- Throws:
- IOException
 
- 
endCDATA- Throws:
- IOException
 
- 
writeAttribute- Throws:
- IOException
 
- 
writeURIAttributepublic abstract void writeURIAttribute(String name, Object value, String property) throws IOException - Throws:
- IOException
 
- 
writeComment- Throws:
- IOException
 
- 
writeText- Throws:
- IOException
 
- 
writeText- Throws:
- IOException
 
- 
cloneWithWriter
- 
writeText- Throws:
- IOException
- Since:
- 1.2
 
- 
writePreamble- Parameters:
- preamble-
- Throws:
- IOException
- Since:
- 2.2
 
- 
writeDoctype- Parameters:
- doctype-
- Throws:
- IOException
- Since:
- 2.2
 
 
-