| Package | Description | 
|---|---|
| com.jcabi.http.response | 
 Responses. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RestResponse | 
RestResponse.assertBinary(Matcher<byte[]> matcher)
Verifies HTTP response body content against provided matcher,
 and throws  
AssertionError in case of mismatch. | 
RestResponse | 
RestResponse.assertBody(Matcher<String> matcher)
Verifies HTTP response body content against provided matcher,
 and throws  
AssertionError in case of mismatch. | 
RestResponse | 
RestResponse.assertHeader(String name,
            Matcher<Iterable<String>> matcher)
Verifies HTTP header against provided matcher, and throws
  
AssertionError in case of mismatch. | 
RestResponse | 
RestResponse.assertHeader(String name,
            String value)
Verifies HTTP header against provided matcher, and throws
  
AssertionError in case of mismatch. | 
RestResponse | 
RestResponse.assertStatus(int status)
Verifies HTTP response status code against the provided absolute value,
 and throws  
AssertionError in case of mismatch. | 
RestResponse | 
RestResponse.assertStatus(Matcher<Integer> matcher)
Verifies HTTP response status code against the provided matcher,
 and throws  
AssertionError in case of mismatch. | 
RestResponse | 
RestResponse.assertThat(Matcher<Response> matcher)
Assert using custom matcher. 
 | 
Copyright © 2012–2021 jcabi.com. All rights reserved.