public class JavaScriptCodec extends Codec
Encoder| Constructor and Description |
|---|
JavaScriptCodec() |
| Modifier and Type | Method and Description |
|---|---|
Character |
decodeCharacter(PushbackString input)
Returns the decoded version of the next character from the input string and advances the
current character in the PushbackString.
|
String |
encodeCharacter(char[] immune,
Character c)
Default implementation that should be overridden in specific codecs.
|
containsCharacter, decode, encode, getHexForNonAlphanumeric, toHex, toOctalpublic String encodeCharacter(char[] immune, Character c)
encodeCharacter in class Codecimmune - c - the Character to encodepublic Character decodeCharacter(PushbackString input)
decodeCharacter in class Codecinput - the Character to decodeCopyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.