Package org.apache.sling.api.request
Class ResponseUtil
- java.lang.Object
-
- org.apache.sling.api.request.ResponseUtil
-
public class ResponseUtil extends Object
Response related utility methodsThis 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
Constructors Constructor Description ResponseUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
escapeXml(String input)
Escape XML textstatic @NotNull Writer
getXmlEscapingWriter(@NotNull Writer target)
Return a Writer that writes escaped XML text to target
-