Package org.primefaces.csp
Class CspPartialResponseWriter
- java.lang.Object
-
- java.io.Writer
-
- javax.faces.context.ResponseWriter
-
- javax.faces.context.ResponseWriterWrapper
-
- javax.faces.context.PartialResponseWriter
-
- org.primefaces.context.PartialResponseWriterWrapper
-
- org.primefaces.csp.CspPartialResponseWriter
-
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable,javax.faces.FacesWrapper<javax.faces.context.ResponseWriter>
public class CspPartialResponseWriter extends PartialResponseWriterWrapper
-
-
Constructor Summary
Constructors Constructor Description CspPartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped, javax.faces.context.FacesContext context, CspState cspState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidendElement(String name)voidendError()voidendEval()voidendExtension()voidendInsert()voidendUpdate()voidflush()voidstartElement(String name, javax.faces.component.UIComponent component)voidstartError(String errorName)voidstartEval()voidstartExtension(Map<String,String> attributes)voidstartInsertAfter(String targetId)voidstartInsertBefore(String targetId)voidstartUpdate(String targetId)voidwrite(char[] cbuf, int off, int len)voidwriteAttribute(String name, Object value, String property)voidwriteComment(Object comment)voidwriteText(char[] text, int off, int len)voidwriteText(Object text, String property)voidwriteText(Object text, javax.faces.component.UIComponent component, String property)voidwriteURIAttribute(String name, Object value, String property)-
Methods inherited from class org.primefaces.context.PartialResponseWriterWrapper
delete, endDocument, redirect, startDocument, updateAttributes
-
Methods inherited from class javax.faces.context.ResponseWriterWrapper
cloneWithWriter, endCDATA, getCharacterEncoding, getContentType, getWrapped, startCDATA, writeDoctype, writePreamble
-
-
-
-
Constructor Detail
-
CspPartialResponseWriter
public CspPartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped, javax.faces.context.FacesContext context, CspState cspState)
-
-
Method Detail
-
startInsertAfter
public void startInsertAfter(String targetId) throws IOException
- Overrides:
startInsertAfterin classPartialResponseWriterWrapper- Throws:
IOException
-
startInsertBefore
public void startInsertBefore(String targetId) throws IOException
- Overrides:
startInsertBeforein classPartialResponseWriterWrapper- Throws:
IOException
-
endInsert
public void endInsert() throws IOException- Overrides:
endInsertin classPartialResponseWriterWrapper- Throws:
IOException
-
startUpdate
public void startUpdate(String targetId) throws IOException
- Overrides:
startUpdatein classPartialResponseWriterWrapper- Throws:
IOException
-
endUpdate
public void endUpdate() throws IOException- Overrides:
endUpdatein classPartialResponseWriterWrapper- Throws:
IOException
-
startEval
public void startEval() throws IOException- Overrides:
startEvalin classPartialResponseWriterWrapper- Throws:
IOException
-
endEval
public void endEval() throws IOException- Overrides:
endEvalin classPartialResponseWriterWrapper- Throws:
IOException
-
startExtension
public void startExtension(Map<String,String> attributes) throws IOException
- Overrides:
startExtensionin classPartialResponseWriterWrapper- Throws:
IOException
-
endExtension
public void endExtension() throws IOException- Overrides:
endExtensionin classPartialResponseWriterWrapper- Throws:
IOException
-
startError
public void startError(String errorName) throws IOException
- Overrides:
startErrorin classPartialResponseWriterWrapper- Throws:
IOException
-
endError
public void endError() throws IOException- Overrides:
endErrorin classPartialResponseWriterWrapper- Throws:
IOException
-
startElement
public void startElement(String name, javax.faces.component.UIComponent component) throws IOException
- Overrides:
startElementin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
writeAttribute
public void writeAttribute(String name, Object value, String property) throws IOException
- Overrides:
writeAttributein classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
writeURIAttribute
public void writeURIAttribute(String name, Object value, String property) throws IOException
- Overrides:
writeURIAttributein classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
endElement
public void endElement(String name) throws IOException
- Overrides:
endElementin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
writeComment
public void writeComment(Object comment) throws IOException
- Overrides:
writeCommentin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
writeText
public void writeText(Object text, String property) throws IOException
- Overrides:
writeTextin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
writeText
public void writeText(Object text, javax.faces.component.UIComponent component, String property) throws IOException
- Overrides:
writeTextin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
writeText
public void writeText(char[] text, int off, int len) throws IOException- Overrides:
writeTextin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
write
public void write(char[] cbuf, int off, int len) throws IOException- Overrides:
writein classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
-