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 Faces Specification
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncloneWithWriter(Writer writer) voidclose()voidendCDATA()voidvoidendElement(String name) voidflush()A class that implements this interface uses this method to return an instance of the class being wrapped.voidvoidvoidstartElement(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) voidvoidwriteURIAttribute(String name, Object value, String property)
-
Constructor Details
-
ResponseWriterWrapper
Deprecated. -
ResponseWriterWrapper
-
-
Method Details
-
cloneWithWriter
- Specified by:
cloneWithWriterin classResponseWriter
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein classWriter- Throws:
IOException
-
endCDATA
- Overrides:
endCDATAin classResponseWriter- Throws:
IOException
-
endDocument
- Specified by:
endDocumentin classResponseWriter- Throws:
IOException
-
endElement
- Specified by:
endElementin classResponseWriter- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Specified by:
flushin classResponseWriter- Throws:
IOException
-
getCharacterEncoding
- Specified by:
getCharacterEncodingin classResponseWriter
-
getContentType
- Specified by:
getContentTypein classResponseWriter
-
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 interfaceFacesWrapper<ResponseWriter>- Returns:
- the instance of the class being wrapped
-
startCDATA
- Overrides:
startCDATAin classResponseWriter- Throws:
IOException
-
startDocument
- Specified by:
startDocumentin classResponseWriter- Throws:
IOException
-
startElement
- Specified by:
startElementin classResponseWriter- Throws:
IOException
-
write
- Specified by:
writein classWriter- Throws:
IOException
-
writeAttribute
- Specified by:
writeAttributein classResponseWriter- Throws:
IOException
-
writeComment
- Specified by:
writeCommentin classResponseWriter- Throws:
IOException
-
writeText
- Specified by:
writeTextin classResponseWriter- Throws:
IOException
-
writeText
- Specified by:
writeTextin classResponseWriter- Throws:
IOException
-
writeText
- Overrides:
writeTextin classResponseWriter- Throws:
IOException
-
writeURIAttribute
- Specified by:
writeURIAttributein classResponseWriter- Throws:
IOException
-
writeDoctype
- Overrides:
writeDoctypein classResponseWriter- Throws:
IOException
-
writePreamble
- Overrides:
writePreamblein classResponseWriter- Throws:
IOException
-