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