public final class TkHtml extends TkWrap
This take returns an HTML response by wrapping the provided
content into RsHtml
.
The class is immutable and thread-safe.
public TkHtml(String body)
body
- Textpublic TkHtml(byte[] body)
body
- Body with HTMLpublic TkHtml(URL url)
url
- URL with contentpublic TkHtml(InputStream body)
body
- ContentCopyright © 2015–2018 Take. All rights reserved.