Package org.apache.sling.api.request
Class ResponseUtil
java.lang.Object
org.apache.sling.api.request.ResponseUtil
Response related utility methods
This class is not intended to be extended or instantiated because it just provides static utility methods not intended to be overwritten.
- Since:
- 2.1 (Sling API Bundle 2.1.0)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ResponseUtil
public ResponseUtil()
-
-
Method Details
-
escapeXml
Escape XML text- Parameters:
input
- The input text- Returns:
- The escaped text
-
getXmlEscapingWriter
Return a Writer that writes escaped XML text to target- Parameters:
target
- writer- Returns:
- Wrapped writer escaping XML
-