public class NetworkClientImpl extends java.lang.Object implements NetworkClient
Constructor and Description |
---|
NetworkClientImpl(ConnectionDetails connectionDetails) |
NetworkClientImpl(ConnectionDetails connectionDetails,
org.apache.http.impl.client.CloseableHttpClient client) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
ConnectionDetails |
getConnectionDetails() |
WebResponse |
getResponse(Ds3Request request) |
public NetworkClientImpl(ConnectionDetails connectionDetails)
public NetworkClientImpl(ConnectionDetails connectionDetails, org.apache.http.impl.client.CloseableHttpClient client)
public ConnectionDetails getConnectionDetails()
getConnectionDetails
in interface NetworkClient
public WebResponse getResponse(Ds3Request request) throws java.io.IOException
getResponse
in interface NetworkClient
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException