public class ResponseUtils
extends java.lang.Object
| Constructor and Description |
|---|
ResponseUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
encodeDataString(java.lang.String iString)
Searches the passed in String for any characters that could be
used in a cross site scripting attack (<, >, +, &, ", ', (, ), %, ;)
and converts them to their browser equivalent name or code specification.
|
public static java.lang.String encodeDataString(java.lang.String iString)
iString - contains the String to be encoded