public HttpClientResponseBuilder withStatus ( int statusCode ) { Action lastAction = newRule . getLastAction ( ) ; StatusResponse statusAction = new StatusResponse ( lastAction , statusCode ) ; newRule . overrideLastAction ( statusAction ) ; return this ; }
Sets response status code .