public abstract class AzureServiceClient extends ServiceClient
Modifier | Constructor and Description |
---|---|
protected |
AzureServiceClient(RestClient restClient)
Initializes a new instance of the ServiceClient class.
|
protected |
AzureServiceClient(String baseUrl,
ServiceClientCredentials credentials) |
protected |
AzureServiceClient(String baseUrl,
ServiceClientCredentials credentials,
okhttp3.OkHttpClient.Builder clientBuilder,
retrofit2.Retrofit.Builder restBuilder)
Initializes a new instance of the ServiceClient class.
|
Modifier and Type | Method and Description |
---|---|
String |
userAgent()
The default User-Agent header.
|
httpClient, restClient, retrofit, serializerAdapter
protected AzureServiceClient(String baseUrl, ServiceClientCredentials credentials)
protected AzureServiceClient(String baseUrl, ServiceClientCredentials credentials, okhttp3.OkHttpClient.Builder clientBuilder, retrofit2.Retrofit.Builder restBuilder)
baseUrl
- the service base uricredentials
- the credentialsclientBuilder
- the http client builderrestBuilder
- the retrofit rest client builderprotected AzureServiceClient(RestClient restClient)
restClient
- the REST clientpublic String userAgent()
Copyright © 2019. All rights reserved.