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 DataFileConnection
public void dispose()
dispose
in interface DataFileConnection
Copyright © 2023 Cloud Software Group, Inc.. All rights reserved.