public class BBWebResponse extends Object
Constructor and Description |
---|
BBWebResponse(CloseableHttpResponse response!)
Constructor
Generally, rather than invoking this constructor directly, you can get
BBWebResponse by sending a request with BBWebClient.send()
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Explicitly closes the response once necessary information has been retrieved.
|
BBjString |
getBody() |
BBjVector |
getHeaders() |
BBjString |
getReasonPhrase() |
BBjNumber |
getStatusCode() |
public BBWebResponse(CloseableHttpResponse response!)
response!
- The Apache HttpResponse object that this class wraps.