public class DefaultServiceClient extends ServiceClient
ServiceClient.ServiceClient.Requestconfig| 构造器和说明 |
|---|
DefaultServiceClient(ClientConfiguration config) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.apache.http.impl.client.CloseableHttpClient |
createHttpClient(org.apache.http.conn.HttpClientConnectionManager connectionManager) |
protected org.apache.http.conn.HttpClientConnectionManager |
createHttpClientConnectionManager() |
protected org.apache.http.client.protocol.HttpClientContext |
createHttpContext() |
protected RetryStrategy |
getDefaultRetryStrategy() |
ResponseMessage |
sendRequestCore(ServiceClient.Request request,
ExecutionContext context)
Implements the core logic to send requests to Aliyun OSS services.
|
void |
shutdown() |
getClientConfiguration, sendRequestpublic DefaultServiceClient(ClientConfiguration config)
public ResponseMessage sendRequestCore(ServiceClient.Request request, ExecutionContext context) throws IOException
ServiceClientsendRequestCore 在类中 ServiceClientIOExceptionprotected RetryStrategy getDefaultRetryStrategy()
getDefaultRetryStrategy 在类中 ServiceClientprotected org.apache.http.impl.client.CloseableHttpClient createHttpClient(org.apache.http.conn.HttpClientConnectionManager connectionManager)
protected org.apache.http.conn.HttpClientConnectionManager createHttpClientConnectionManager()
protected org.apache.http.client.protocol.HttpClientContext createHttpContext()
public void shutdown()
shutdown 在类中 ServiceClientCopyright © 2016. All Rights Reserved.