Class ResponseUtils
java.lang.Object
com.ibm.websphere.servlet.response.ResponseUtils
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringencodeDataString(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.
- 
Constructor Details- 
ResponseUtilspublic ResponseUtils()
 
- 
- 
Method Details- 
encodeDataStringSearches 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.- Parameters:
- iString- contains the String to be encoded
- Returns:
- an encoded String
 
 
-