| Constructor and Description |
|---|
RsHasBody(byte[] body)
Ctor.
|
RsHasBody(org.hamcrest.Matcher<byte[]> body)
Ctor.
|
RsHasBody(String body,
Charset charset)
Check response has string body in charset.
|
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(Response item) |
describeMismatch, describeMismatchSafely, matchespublic RsHasBody(String body, Charset charset)
body - Body stringcharset - Charset encodingpublic RsHasBody(byte[] body)
body - Body to matchpublic RsHasBody(org.hamcrest.Matcher<byte[]> body)
body - Body matcherCopyright © 2012–2020 jcabi.com. All rights reserved.