Package org.apache.sling.engine
Class ResponseUtil
- java.lang.Object
-
- org.apache.sling.engine.ResponseUtil
-
@Deprecated public class ResponseUtil extends java.lang.ObjectDeprecated.UseResponseUtilResponse-related utilities.
-
-
Constructor Summary
Constructors Constructor Description ResponseUtil()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.StringescapeXml(java.lang.String input)Deprecated.Escape xml textstatic java.io.WritergetXmlEscapingWriter(java.io.Writer target)Deprecated.Return a Writer that writes escaped XML text to target
-
-
-
Method Detail
-
escapeXml
public static java.lang.String escapeXml(java.lang.String input)
Deprecated.Escape xml text- Parameters:
input- The text to escape- Returns:
- The escaped text.
-
getXmlEscapingWriter
public static java.io.Writer getXmlEscapingWriter(java.io.Writer target)
Deprecated.Return a Writer that writes escaped XML text to target- Parameters:
target- The writer to wrap- Returns:
- The wrapped writer
-
-