org.apache.sling.api.request
Class ResponseUtil
java.lang.Object
org.apache.sling.api.request.ResponseUtil
public class ResponseUtil
- extends Object
Response-related utilities
- Since:
- 2.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseUtil
public ResponseUtil()
escapeXml
public static String escapeXml(String input)
- Escape xml text
getXmlEscapingWriter
public static Writer getXmlEscapingWriter(Writer target)
- Return a Writer that writes escaped XML text to target
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.