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