public final class TkHtml extends TkWrap
This take returns an HTML response by wrapping the provided content into RsHtml.
RsHtml
The class is immutable and thread-safe.
TkHtml(byte[] body)
TkHtml(InputStream body)
TkHtml(Scalar<String> body)
TkHtml(String body)
TkHtml(URL url)
act
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TkHtml(String body)
body
public TkHtml(Scalar<String> body)
public TkHtml(byte[] body)
public TkHtml(URL url)
url
public TkHtml(InputStream body)
Copyright © 2015–2019 Take. All rights reserved.