Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class StatusResultMatchers
- Object
- StatusResultMatchers
Expectations of the response status, from
MockMvcResultMatchers.status.Methods
Inherited methods
Method details
is
public ResultMatcher is(int status)Exactly this status.
is1xxInformational
public ResultMatcher is1xxInformational()is2xxSuccessful
public ResultMatcher is2xxSuccessful()is3xxRedirection
public ResultMatcher is3xxRedirection()is4xxClientError
public ResultMatcher is4xxClientError()is5xxServerError
public ResultMatcher is5xxServerError()isOk
public ResultMatcher isOk()isCreated
public ResultMatcher isCreated()isAccepted
public ResultMatcher isAccepted()isNoContent
public ResultMatcher isNoContent()isPartialContent
public ResultMatcher isPartialContent()isMovedPermanently
public ResultMatcher isMovedPermanently()isFound
public ResultMatcher isFound()isSeeOther
public ResultMatcher isSeeOther()isNotModified
public ResultMatcher isNotModified()isTemporaryRedirect
public ResultMatcher isTemporaryRedirect()isPermanentRedirect
public ResultMatcher isPermanentRedirect()isBadRequest
public ResultMatcher isBadRequest()isUnauthorized
public ResultMatcher isUnauthorized()isForbidden
public ResultMatcher isForbidden()isNotFound
public ResultMatcher isNotFound()isMethodNotAllowed
public ResultMatcher isMethodNotAllowed()isNotAcceptable
public ResultMatcher isNotAcceptable()isConflict
public ResultMatcher isConflict()isGone
public ResultMatcher isGone()isPayloadTooLarge
public ResultMatcher isPayloadTooLarge()isUnsupportedMediaType
public ResultMatcher isUnsupportedMediaType()isUnprocessableEntity
public ResultMatcher isUnprocessableEntity()isTooManyRequests
public ResultMatcher isTooManyRequests()isInternalServerError
public ResultMatcher isInternalServerError()isNotImplemented
public ResultMatcher isNotImplemented()