Interface HttpResponse
- All Superinterfaces:
HttpMessage
- All Known Implementing Classes:
DefaultHttpResponse
An HTTP response to an HTTP request
-
Method Summary
Modifier and TypeMethodDescriptionThe HTTP status code for the HTTP response (e.g.Methods inherited from interface HttpMessage
containsHeader, getContentType, getHeader, getHeaders, getProtocolVersion, isKeepAlive
-
Method Details
-
getStatus
HttpStatus getStatus()The HTTP status code for the HTTP response (e.g. 200 for OK, 404 for not found, etc..)- Returns:
- the status of the HTTP response
-