public class ResponseUtil
extends java.lang.Object
This class is not intended to be extended or instantiated because it just provides static utility methods not intended to be overwritten.
Constructor and Description |
---|
ResponseUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
escapeXml(java.lang.String input)
Escape XML text
|
static java.io.Writer |
getXmlEscapingWriter(java.io.Writer target)
Return a Writer that writes escaped XML text to target
|
public static java.lang.String escapeXml(java.lang.String input)
input
- The input text@Nonnull public static java.io.Writer getXmlEscapingWriter(@Nonnull java.io.Writer target)
target
- writerCopyright © 2018 The Apache Software Foundation. All rights reserved.