public class HttpDataConnection extends Object implements DataFileConnection
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_NO_RESPONSE |
static String |
EXCEPTION_MESSAGE_KEY_STATUS_CODE_ERROR |
| Constructor and Description |
|---|
HttpDataConnection(org.apache.http.impl.client.CloseableHttpClient httpClient,
org.apache.http.client.methods.HttpRequestBase request) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
InputStream |
getInputStream() |
public static final String EXCEPTION_MESSAGE_KEY_NO_RESPONSE
public static final String EXCEPTION_MESSAGE_KEY_STATUS_CODE_ERROR
public HttpDataConnection(org.apache.http.impl.client.CloseableHttpClient httpClient,
org.apache.http.client.methods.HttpRequestBase request)
public InputStream getInputStream()
getInputStream in interface DataFileConnectionpublic void dispose()
dispose in interface DataFileConnectionCopyright © 2017. All rights reserved.