public final class RsWithStatus extends Object implements Response
Constructor and Description |
---|
RsWithStatus(int code)
Ctor.
|
RsWithStatus(Response res,
int code)
Ctor.
|
RsWithStatus(Response res,
int code,
String rsn)
Ctor.
|
public RsWithStatus(int code)
code
- Status codepublic RsWithStatus(Response res, int code)
res
- Original responsecode
- Status codepublic List<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 Takes. All rights reserved.