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>
-
Field Summary
Fields inherited from class javax.faces.context.PartialResponseWriter
RENDER_ALL_MARKER, VIEW_STATE_MARKER -
Constructor Summary
ConstructorsConstructorDescriptionCspPartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped, javax.faces.context.FacesContext context, CspState cspState) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidendElement(String name) voidendError()voidendEval()voidvoidvoidvoidflush()voidstartElement(String name, javax.faces.component.UIComponent component) voidstartError(String errorName) voidvoidstartExtension(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) voidvoidvoidwriteURIAttribute(String name, Object value, String property) Methods inherited from class org.primefaces.context.PartialResponseWriterWrapper
delete, endDocument, redirect, startDocument, updateAttributesMethods inherited from class javax.faces.context.ResponseWriterWrapper
cloneWithWriter, endCDATA, getCharacterEncoding, getContentType, getWrapped, startCDATA, writeDoctype, writePreamble
-
Constructor Details
-
CspPartialResponseWriter
public CspPartialResponseWriter(javax.faces.context.PartialResponseWriter wrapped, javax.faces.context.FacesContext context, CspState cspState)
-
-
Method Details
-
startInsertAfter
- Overrides:
startInsertAfterin classPartialResponseWriterWrapper- Throws:
IOException
-
startInsertBefore
- Overrides:
startInsertBeforein classPartialResponseWriterWrapper- Throws:
IOException
-
endInsert
- Overrides:
endInsertin classPartialResponseWriterWrapper- Throws:
IOException
-
startUpdate
- Overrides:
startUpdatein classPartialResponseWriterWrapper- Throws:
IOException
-
endUpdate
- Overrides:
endUpdatein classPartialResponseWriterWrapper- Throws:
IOException
-
startEval
- Overrides:
startEvalin classPartialResponseWriterWrapper- Throws:
IOException
-
endEval
- Overrides:
endEvalin classPartialResponseWriterWrapper- Throws:
IOException
-
startExtension
- Overrides:
startExtensionin classPartialResponseWriterWrapper- Throws:
IOException
-
endExtension
- Overrides:
endExtensionin classPartialResponseWriterWrapper- Throws:
IOException
-
startError
- Overrides:
startErrorin classPartialResponseWriterWrapper- Throws:
IOException
-
endError
- 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
- Overrides:
writeAttributein classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
writeURIAttribute
- Overrides:
writeURIAttributein classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
endElement
- Overrides:
endElementin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
writeComment
- Overrides:
writeCommentin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
writeText
- 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
- Overrides:
writeTextin classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-
write
- Overrides:
writein classjavax.faces.context.ResponseWriterWrapper- Throws:
IOException
-