public final class RsPrettyJson extends Object implements Response
The class is immutable and thread-safe.
Constructor and Description |
---|
RsPrettyJson(Response res)
Ctor.
|
public RsPrettyJson(Response res)
res
- Original responsepublic Iterable<String> head() throws IOException
Response
head
in interface Response
IOException
- If something goes wrongpublic InputStream body() throws IOException
Response
body
in interface Response
IOException
- If something goes wrongCopyright © 2015–2017 Take. All rights reserved.