public final class RsWithStatus extends RsWrap
The class is immutable and thread-safe.
Constructor and Description |
---|
RsWithStatus(int code)
Ctor.
|
RsWithStatus(Response res,
int code)
Ctor.
|
RsWithStatus(Response res,
int code,
CharSequence rsn)
Ctor.
|
public RsWithStatus(int code)
code
- Status codepublic RsWithStatus(Response res, int code)
res
- Original responsecode
- Status codepublic RsWithStatus(Response res, int code, CharSequence rsn)
res
- Original responsecode
- Status codersn
- ReasonCopyright © 2015 Take. All rights reserved.