ch.security4web.esapi.renderkit
Class EsapiHtmlResponseWriterImpl
java.lang.Object
HtmlResponseWriterImpl
ch.security4web.esapi.renderkit.EsapiHtmlResponseWriterImpl
public class EsapiHtmlResponseWriterImpl
- extends HtmlResponseWriterImpl
This class configured Response writer,which is used to generates render filtered(removing XSS attacked code) HTML Response from Esapi library.
- Version:
- $Revision: 1.0 $ $Date: 2012-03-15 21:56:39 -0500 (Wed, 03 Dec 2008) $
- Author:
- Rakesh
|
Constructor Summary |
EsapiHtmlResponseWriterImpl(java.io.Writer writer,
java.lang.String contentType,
java.lang.String characterEncoding)
|
EsapiHtmlResponseWriterImpl(java.io.Writer writer,
java.lang.String contentType,
java.lang.String characterEncoding,
boolean wrapScriptContentWithXmlCommentTag)
|
|
Method Summary |
ResponseWriter |
cloneWithWriter(java.io.Writer writer)
|
void |
endElement(java.lang.String name)
|
void |
startElement(java.lang.String name,
UIComponent uiComponent)
|
void |
write(char[] cbuf)
|
void |
write(char[] cbuf,
int off,
int len)
|
void |
write(int c)
|
void |
write(java.lang.String str)
|
void |
write(java.lang.String str,
int off,
int len)
|
void |
writeAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String componentPropertyName)
|
void |
writeComment(java.lang.Object value)
|
void |
writeText(char[] cbuf,
int off,
int len)
|
void |
writeText(java.lang.Object value,
java.lang.String componentPropertyName)
|
void |
writeText(java.lang.Object object,
UIComponent component,
java.lang.String string)
|
void |
writeURIAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String componentPropertyName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EsapiHtmlResponseWriterImpl
public EsapiHtmlResponseWriterImpl(java.io.Writer writer,
java.lang.String contentType,
java.lang.String characterEncoding)
EsapiHtmlResponseWriterImpl
public EsapiHtmlResponseWriterImpl(java.io.Writer writer,
java.lang.String contentType,
java.lang.String characterEncoding,
boolean wrapScriptContentWithXmlCommentTag)
throws FacesException
- Throws:
FacesException
startElement
public void startElement(java.lang.String name,
UIComponent uiComponent)
throws java.io.IOException
- Throws:
java.io.IOException
endElement
public void endElement(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
writeAttribute
public void writeAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String componentPropertyName)
throws java.io.IOException
- Throws:
java.io.IOException
writeURIAttribute
public void writeURIAttribute(java.lang.String name,
java.lang.Object value,
java.lang.String componentPropertyName)
throws java.io.IOException
- Throws:
java.io.IOException
writeComment
public void writeComment(java.lang.Object value)
throws java.io.IOException
- Throws:
java.io.IOException
writeText
public void writeText(java.lang.Object value,
java.lang.String componentPropertyName)
throws java.io.IOException
- Throws:
java.io.IOException
writeText
public void writeText(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
cloneWithWriter
public ResponseWriter cloneWithWriter(java.io.Writer writer)
write
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(int c)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(char[] cbuf)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String str)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.lang.String str,
int off,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
writeText
public void writeText(java.lang.Object object,
UIComponent component,
java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException