- isOk
Assert the response status code is HttpStatus.OK (200).
- isCreated
Assert the response status code is HttpStatus.CREATED (201).
- isNotFound
Assert the response status code is HttpStatus.NOT_FOUND (404).
- isBadRequest
Assert the response status code is HttpStatus.BAD_REQUEST (400).
- isUnauthorized
Assert the response status code is HttpStatus.UNAUTHORIZED (401).
- isFound
Assert the response status code is HttpStatus.FOUND (302).
- is
Assert the response status code with the given Hamcrest Matcher. Use the
StatusResultMatchers.isEqua
- is3xxRedirection
Assert the response status code is in the 3xx range.
- isForbidden
Assert the response status code is HttpStatus.FORBIDDEN (403).
- isNoContent
Assert the response status code is HttpStatus.NO_CONTENT (204).
- is2xxSuccessful
Assert the response status code is in the 2xx range.
- isConflict
Assert the response status code is HttpStatus.CONFLICT (409).