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 @NotNull java.io.Writer |
getXmlEscapingWriter(@NotNull 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@NotNull public static @NotNull java.io.Writer getXmlEscapingWriter(@NotNull @NotNull java.io.Writer target)
target
- writerCopyright © 2018 The Apache Software Foundation. All rights reserved.