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