public final class RsPrettyXml extends Object implements Response
The class is immutable and thread-safe.
Constructor and Description |
---|
RsPrettyXml(Response res)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
body()
HTTP response body.
|
Iterable<String> |
head()
HTTP response head.
|
public RsPrettyXml(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–2018 Take. All rights reserved.