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) void
close()
void
endCDATA()
void
void
endElement
(String name) void
flush()
A class that implements this interface uses this method to return an instance of the class being wrapped.void
void
void
startElement
(String name, UIComponent component) void
write
(char[] cbuf, int off, int len) void
writeAttribute
(String name, Object value, String property) void
writeComment
(Object comment) void
writeDoctype
(String doctype) void
writePreamble
(String preamble) void
writeText
(char[] text, int off, int len) void
writeText
(Object object, UIComponent component, String string) void
void
writeURIAttribute
(String name, Object value, String property)
-
Constructor Details
-
ResponseWriterWrapper
Deprecated. -
ResponseWriterWrapper
-
-
Method Details
-
cloneWithWriter
- Specified by:
cloneWithWriter
in classResponseWriter
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in classWriter
- Throws:
IOException
-
endCDATA
- Overrides:
endCDATA
in classResponseWriter
- Throws:
IOException
-
endDocument
- Specified by:
endDocument
in classResponseWriter
- Throws:
IOException
-
endElement
- Specified by:
endElement
in classResponseWriter
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Specified by:
flush
in classResponseWriter
- Throws:
IOException
-
getCharacterEncoding
- Specified by:
getCharacterEncoding
in classResponseWriter
-
getContentType
- Specified by:
getContentType
in classResponseWriter
-
getWrapped
Description copied from interface:FacesWrapper
A class that implements this interface uses this method to return an instance of the class being wrapped.- Specified by:
getWrapped
in interfaceFacesWrapper<ResponseWriter>
- Returns:
- the instance of the class being wrapped
-
startCDATA
- Overrides:
startCDATA
in classResponseWriter
- Throws:
IOException
-
startDocument
- Specified by:
startDocument
in classResponseWriter
- Throws:
IOException
-
startElement
- Specified by:
startElement
in classResponseWriter
- Throws:
IOException
-
write
- Specified by:
write
in classWriter
- Throws:
IOException
-
writeAttribute
- Specified by:
writeAttribute
in classResponseWriter
- Throws:
IOException
-
writeComment
- Specified by:
writeComment
in classResponseWriter
- Throws:
IOException
-
writeText
- Specified by:
writeText
in classResponseWriter
- Throws:
IOException
-
writeText
- Specified by:
writeText
in classResponseWriter
- Throws:
IOException
-
writeText
- Overrides:
writeText
in classResponseWriter
- Throws:
IOException
-
writeURIAttribute
- Specified by:
writeURIAttribute
in classResponseWriter
- Throws:
IOException
-
writeDoctype
- Overrides:
writeDoctype
in classResponseWriter
- Throws:
IOException
-
writePreamble
- Overrides:
writePreamble
in classResponseWriter
- Throws:
IOException
-