public class HttpResponseAssert<T> extends org.assertj.core.api.AbstractAssert<HttpResponseAssert<T>,HttpResponse<T>>
HttpResponse| Modifier | Constructor and Description |
|---|---|
protected |
HttpResponseAssert(HttpResponse<T> actual) |
| Modifier and Type | Method and Description |
|---|---|
static <T> HttpResponseAssert<T> |
assertThat(HttpResponse<T> actual) |
HttpResponseAssert<T> |
bodyMatches(String regex) |
HttpResponseAssert<T> |
hasBody(T body) |
HttpResponseAssert<T> |
hasCharset(String charset) |
HttpResponseAssert<T> |
hasCode(int code) |
HttpResponseAssert<T> |
hasContentType(String contentType) |
HttpResponseAssert<T> |
hasCookie(String cookieName) |
HttpResponseAssert<T> |
hasInBody(String inBody) |
HttpResponseAssert<T> |
hasInHeader(String key,
String value) |
HttpResponseAssert<T> |
hasLength(Integer length) |
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparatorprotected HttpResponseAssert(HttpResponse<T> actual)
public static <T> HttpResponseAssert<T> assertThat(HttpResponse<T> actual)
public HttpResponseAssert<T> hasInHeader(String key, String value)
public HttpResponseAssert<T> hasCookie(String cookieName)
public HttpResponseAssert<T> hasContentType(String contentType)
public HttpResponseAssert<T> hasCode(int code)
public HttpResponseAssert<T> hasInBody(String inBody)
public HttpResponseAssert<T> bodyMatches(String regex)
public HttpResponseAssert<T> hasBody(T body)
public HttpResponseAssert<T> hasLength(Integer length)
public HttpResponseAssert<T> hasCharset(String charset)
Copyright © 2013–2014 Wisdom Framework. All rights reserved.