public interface ResponseBuilder extends MessageBuilder
Modifier and Type | Method and Description |
---|---|
int |
getStatus()
Retrieve the status of the response.
|
ResponseBuilder |
withStatus(int status)
Sets the status of the response.
|
addHeader, getBodyAsObject, getBodyAsStream, getBodyAsType, getCombinedHeaders, getHeader, ignoreAllRequestHeaders, withBodyAsObject, withBodyAsStream, withHeader, withHeaders, withoutHeader
ResponseBuilder withStatus(int status)
status
- statusint getStatus()