Uses of Class
com.jcabi.http.response.RestResponse
Packages that use RestResponse
-
Uses of RestResponse in com.jcabi.http.response
Methods in com.jcabi.http.response that return RestResponseModifier and TypeMethodDescriptionRestResponse.assertBinary(org.hamcrest.Matcher<byte[]> matcher) Verifies HTTP response body content against provided matcher, and throwsAssertionErrorin case of mismatch.RestResponse.assertBody(org.hamcrest.Matcher<String> matcher) Verifies HTTP response body content against provided matcher, and throwsAssertionErrorin case of mismatch.RestResponse.assertHeader(String name, String value) Verifies HTTP header against provided matcher, and throwsAssertionErrorin case of mismatch.RestResponse.assertHeader(String name, org.hamcrest.Matcher<? super Iterable<String>> matcher) Verifies HTTP header against provided matcher, and throwsAssertionErrorin case of mismatch.RestResponse.assertStatus(int status) Verifies HTTP response status code against the provided absolute value, and throwsAssertionErrorin case of mismatch.RestResponse.assertStatus(org.hamcrest.Matcher<Integer> matcher) Verifies HTTP response status code against the provided matcher, and throwsAssertionErrorin case of mismatch.RestResponse.assertThat(org.hamcrest.Matcher<Response> matcher) Assert using custom matcher.