Class ResponseUtil

java.lang.Object
org.apache.sling.engine.ResponseUtil

@Deprecated public class ResponseUtil extends Object
Deprecated.
Response-related utilities.
  • Constructor Details

    • ResponseUtil

      public ResponseUtil()
      Deprecated.
  • Method Details

    • escapeXml

      public static String escapeXml(String input)
      Deprecated.
      Escape xml text
      Parameters:
      input - The text to escape
      Returns:
      The escaped text.
    • getXmlEscapingWriter

      public static Writer getXmlEscapingWriter(Writer target)
      Deprecated.
      Return a Writer that writes escaped XML text to target
      Parameters:
      target - The writer to wrap
      Returns:
      The wrapped writer