public static final class RsWithType.Xml extends RsWrap
The class is immutable and thread-safe.
| Constructor and Description |
|---|
Xml(Response res)
Constructs a
XML that will add text/xml as the content type
header to the response. |
Xml(Response res,
Charset charset)
Constructs a
XML that will add text/xml as the content type
header to the response using the specified charset as charset
parameter value. |
public Xml(Response res)
XML that will add text/xml as the content type
header to the response.res - Original responseCopyright © 2015–2018 Take. All rights reserved.