Class HttpStatusAssert

  • All Implemented Interfaces:
    org.assertj.core.api.Assert<HttpStatusAssert,​org.springframework.http.HttpStatus>, org.assertj.core.api.Descriptable<HttpStatusAssert>, org.assertj.core.api.ExtensionPoints<HttpStatusAssert,​org.springframework.http.HttpStatus>

    public class HttpStatusAssert
    extends org.assertj.core.api.AbstractObjectAssert<HttpStatusAssert,​org.springframework.http.HttpStatus>
    • Field Summary

      • Fields inherited from class org.assertj.core.api.AbstractAssert

        actual, info, myself
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpStatusAssert​(org.springframework.http.HttpStatus actual)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HttpStatusAssert is1xxInformational()  
      HttpStatusAssert is2xxSuccessful()  
      HttpStatusAssert is3xxRedirection()  
      HttpStatusAssert is4xxClientError()  
      HttpStatusAssert is5xxServerError()  
      HttpStatusAssert isEqualTo​(int expected)  
      • Methods inherited from class org.assertj.core.api.AbstractObjectAssert

        defaultTypeComparators, extracting, extracting, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, usingComparatorForFields, usingComparatorForType
      • Methods inherited from class org.assertj.core.api.AbstractAssert

        as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait