public abstract class HttpResult extends BaseCloseableConnectorResult<org.apache.http.client.methods.CloseableHttpResponse>
ConnectorResult based on a CloseableHttpResponse. By default, BaseCloseableConnectorResult.close() will close the HTTP
response. Implementing classes are expected to provide the means to convert the HTTP response to an
Iterable and close any additional resources required for the conversion.| Constructor and Description |
|---|
HttpResult(org.apache.http.client.methods.CloseableHttpResponse response) |
| Modifier and Type | Method and Description |
|---|---|
ConnectorStatus |
getStatus()
Converts the response
StatusLine to a ConnectorStatus. |
closegetSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPayloadspublic HttpResult(org.apache.http.client.methods.CloseableHttpResponse response)
public ConnectorStatus getStatus()
StatusLine to a ConnectorStatus.