public final class RsText extends RsWrap
The class is immutable and thread-safe.
Constructor and Description |
---|
RsText()
Ctor.
|
RsText(byte[] body)
Ctor.
|
RsText(CharSequence body)
Ctor.
|
RsText(InputStream body)
Ctor.
|
RsText(Response res)
Ctor.
|
RsText(Response res,
byte[] body)
Ctor.
|
RsText(Response res,
CharSequence body)
Ctor.
|
RsText(Response res,
InputStream body)
Ctor.
|
RsText(Response res,
URL url)
Ctor.
|
RsText(URL url)
Ctor.
|
public RsText()
public RsText(CharSequence body)
body
- Plain text bodypublic RsText(byte[] body)
body
- Plain text bodypublic RsText(InputStream body)
body
- Plain text bodypublic RsText(URL url)
url
- URL with bodypublic RsText(Response res, CharSequence body)
res
- Original responsebody
- HTML bodypublic RsText(Response res, byte[] body)
res
- Original responsebody
- HTML bodypublic RsText(Response res, InputStream body)
res
- Original responsebody
- HTML bodypublic RsText(Response res, URL url)
res
- Original responseurl
- URL with bodypublic RsText(Response res)
res
- Original responseCopyright © 2015–2017 Take. All rights reserved.