public static final class RsWithType.Html extends RsWrap
The class is immutable and thread-safe.
Constructor and Description |
---|
RsWithType.Html(Response res)
Constructs a
HTML that will add text/html as the content type
header to the response. |
RsWithType.Html(Response res,
Charset charset)
Constructs a
HTML that will add text/html as the content type
header to the response using the specified charset as charset
parameter value. |
public RsWithType.Html(Response res)
HTML
that will add text/html as the content type
header to the response.res
- Original responsepublic RsWithType.Html(Response res, Charset charset)
HTML
that will add text/html as the content type
header to the response using the specified charset as charset
parameter value.res
- Original responsecharset
- The character set to add in the content type headerCopyright © 2015–2017 Take. All rights reserved.