Uses of Class
ubic.gemma.rest.util.ResponseAssert
Packages that use ResponseAssert
-
Uses of ResponseAssert in ubic.gemma.rest.util
Methods in ubic.gemma.rest.util that return ResponseAssertModifier and TypeMethodDescriptionstatic ResponseAssertAssertions.assertThat(javax.ws.rs.core.Response response) ResponseAssert.doesNotHaveEncoding(String encoding) ResponseAssert.doesNotHaveHeader(String name) Asserts that the response does not have the given header.ResponseAssert.doesNotHaveHeaderWithValue(String name, String value) Asserts that the response does not have the given header with a particular value.ResponseAssert.hasEncoding(String encoding) Asserts that the response has the given 'Content-Encoding' header.Asserts that the response has the given header.ResponseAssert.hasHeaderSatisfying(String name, Consumer<List<String>> consumer) ResponseAssert.hasHeaderWithValue(String name, String value) Asserts that the response has the given header with a particular value.ResponseAssert.hasLanguage(Locale locale) ResponseAssert.hasLength()Asserts that the response has a 'Content-Length' header.ResponseAssert.hasLength(int length) Asserts that the response has a 'Content-Length' header with the given length.ResponseAssert.hasMediaType(javax.ws.rs.core.MediaType mediaType) Asserts that the response has the given media type.ResponseAssert.hasMediaTypeCompatibleWith(javax.ws.rs.core.MediaType mediaType) Asserts that the response has a media type compatible with the given media type.ResponseAssert.hasStatus(javax.ws.rs.core.Response.Status status) Asserts that the response has the given status code and reason phrase.ResponseAssert.hasStatusFamily(javax.ws.rs.core.Response.Status.Family family) Asserts that that response status is within the given status family.