Skip navigation links
C E F H J O U W X 

C

CDATA - Static variable in class org.owasp.encoder.Encoders
Name of CDATA context.
close() - Method in class org.owasp.encoder.EncodedWriter
 
CSS_STRING - Static variable in class org.owasp.encoder.Encoders
Name of CSS string context.
CSS_URL - Static variable in class org.owasp.encoder.Encoders
Name of CSS URL context.

E

Encode - Class in org.owasp.encoder
Encode -- fluent interface for contextual encoding.
encode(CharBuffer, CharBuffer, boolean) - Method in class org.owasp.encoder.Encoder
This is the kernel of encoding.
EncodedWriter - Class in org.owasp.encoder
EncodedWriter -- A writer the encodes all input for a specific context and writes the encoded output to another writer.
EncodedWriter(Writer, Encoder) - Constructor for class org.owasp.encoder.EncodedWriter
Creates an EncodedWriter that uses the specified encoder to encode all input before sending it to the wrapped writer.
EncodedWriter(Writer, String) - Constructor for class org.owasp.encoder.EncodedWriter
Creates an EncodedWriter that uses the specified encoder to encode all input before sending it to the wrapped writer.
Encoder - Class in org.owasp.encoder
This is the low-level encoding API.
Encoders - Class in org.owasp.encoder
Encoders -- Public factory method for obtaining instances of Encoders.

F

flush() - Method in class org.owasp.encoder.EncodedWriter
 
forCDATA(String) - Static method in class org.owasp.encoder.Encode
Encodes data for an XML CDATA section.
forCDATA(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forCDATA(String) for description of encoding.
forCssString(String) - Static method in class org.owasp.encoder.Encode
Encodes for CSS strings.
forCssString(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forCssString(String) for description of encoding.
forCssUrl(String) - Static method in class org.owasp.encoder.Encode
Encodes for CSS URL contexts.
forCssUrl(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forCssUrl(String) for description of encoding.
forHtml(String) - Static method in class org.owasp.encoder.Encode
Encodes for (X)HTML text content and text attributes.
forHtml(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forHtml(String) for description of encoding.
forHtmlAttribute(String) - Static method in class org.owasp.encoder.Encode
This method encodes for HTML text attributes.
forHtmlAttribute(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forHtmlAttribute(String) for description of encoding.
forHtmlContent(String) - Static method in class org.owasp.encoder.Encode
This method encodes for HTML text content.
forHtmlContent(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forHtmlContent(String) for description of encoding.
forHtmlUnquotedAttribute(String) - Static method in class org.owasp.encoder.Encode
Encodes for unquoted HTML attribute values.
forHtmlUnquotedAttribute(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forHtmlUnquotedAttribute(String) for description of encoding.
forJava(String) - Static method in class org.owasp.encoder.Encode
Encodes for a Java string.
forJava(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forJava(String) for description of encoding.
forJavaScript(String) - Static method in class org.owasp.encoder.Encode
Encodes for a JavaScript string.
forJavaScript(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forJavaScript(String) for description of encoding.
forJavaScriptAttribute(String) - Static method in class org.owasp.encoder.Encode
This method encodes for JavaScript strings contained within HTML script attributes (such as onclick).
forJavaScriptAttribute(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forJavaScriptAttribute(String) for description of encoding.
forJavaScriptBlock(String) - Static method in class org.owasp.encoder.Encode
This method encodes for JavaScript strings contained within HTML script blocks.
forJavaScriptBlock(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forJavaScriptBlock(String) for description of encoding.
forJavaScriptSource(String) - Static method in class org.owasp.encoder.Encode
This method encodes for JavaScript strings contained within a JavaScript or JSON file.
forJavaScriptSource(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forJavaScriptSource(String) for description of encoding.
forName(String) - Static method in class org.owasp.encoder.Encoders
Returns a new instance of an Encoder for the specified context.
forUri(String) - Static method in class org.owasp.encoder.Encode
Deprecated.
forUri(Writer, String) - Static method in class org.owasp.encoder.Encode
Deprecated.
There is never a need to encode a complete URI with this form of encoding.
forUriComponent(String) - Static method in class org.owasp.encoder.Encode
Performs percent-encoding for a component of a URI, such as a query parameter name or value, path or query-string.
forUriComponent(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forUriComponent(String) for description of encoding.
forXml(String) - Static method in class org.owasp.encoder.Encode
Encoder for XML and XHTML.
forXml(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forXml(String) for description of encoding.
forXmlAttribute(String) - Static method in class org.owasp.encoder.Encode
Encoder for XML and XHTML attribute content.
forXmlAttribute(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forXmlAttribute(String) for description of encoding.
forXmlComment(String) - Static method in class org.owasp.encoder.Encode
Encoder for XML comments.
forXmlComment(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forXmlComment(String) for description of encoding.
forXmlContent(String) - Static method in class org.owasp.encoder.Encode
Encoder for XML and XHTML text content.
forXmlContent(Writer, String) - Static method in class org.owasp.encoder.Encode
See Encode.forXmlContent(String) for description of encoding.

H

HTML - Static variable in class org.owasp.encoder.Encoders
Name of HTML general context.
HTML_ATTRIBUTE - Static variable in class org.owasp.encoder.Encoders
Name of HTML attribute context.
HTML_CONTENT - Static variable in class org.owasp.encoder.Encoders
Name of HTML content context.
HTML_UNQUOTED_ATTRIBUTE - Static variable in class org.owasp.encoder.Encoders
Name of unquoted HTML attribute context.

J

JAVA - Static variable in class org.owasp.encoder.Encoders
Name of Java String context.
JAVASCRIPT - Static variable in class org.owasp.encoder.Encoders
Name of JavaScript general context.
JAVASCRIPT_ATTRIBUTE - Static variable in class org.owasp.encoder.Encoders
Name of JavaScript attribute context.
JAVASCRIPT_BLOCK - Static variable in class org.owasp.encoder.Encoders
Name of JavaScript block context.
JAVASCRIPT_SOURCE - Static variable in class org.owasp.encoder.Encoders
Name of JavaScript source context.

O

org.owasp.encoder - package org.owasp.encoder
 

U

UnsupportedContextException - Exception in org.owasp.encoder
UnsupportedContextException -- thrown when the encoding context specified is not known or supported.
UnsupportedContextException(String) - Constructor for exception org.owasp.encoder.UnsupportedContextException
Sole constructor.
URI - Static variable in class org.owasp.encoder.Encoders
Name of URI context.
URI_COMPONENT - Static variable in class org.owasp.encoder.Encoders
Name of URI component context.

W

write(char[], int, int) - Method in class org.owasp.encoder.EncodedWriter
 

X

XML - Static variable in class org.owasp.encoder.Encoders
Name of XML general context.
XML_ATTRIBUTE - Static variable in class org.owasp.encoder.Encoders
Name of XML attribute context.
XML_COMMENT - Static variable in class org.owasp.encoder.Encoders
Name of XML comment context.
XML_CONTENT - Static variable in class org.owasp.encoder.Encoders
Name of XML content context.
C E F H J O U W X 
Skip navigation links

Copyright © 2011–2020 OWASP (Open Web-Application Security Project). All rights reserved.