spring-framework / org.springframework.test.web.client.response / MockRestResponseCreators / withStatus

withStatus

open static fun withStatus(status: HttpStatus): DefaultResponseCreator

ResponseCreator with a specific HTTP status.

Parameters

status - the response status