Package | Description |
---|---|
com.azure.core.http |
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
|
com.azure.core.util |
Package containing core utility classes.
|
Modifier and Type | Method and Description |
---|---|
HttpPipelineBuilder |
HttpPipelineBuilder.clientOptions(ClientOptions clientOptions)
Sets the ClientOptions that will configure the pipeline.
|
Modifier and Type | Class and Description |
---|---|
class |
HttpClientOptions
General configuration options for
HttpClients . |
Modifier and Type | Method and Description |
---|---|
ClientOptions |
ClientOptions.setApplicationId(String applicationId)
Sets the application ID.
|
ClientOptions |
ClientOptions.setHeaders(Iterable<Header> headers)
Sets the
Headers . |
Modifier and Type | Method and Description |
---|---|
static HttpHeaders |
CoreUtils.createHttpHeadersFromClientOptions(ClientOptions clientOptions)
Creates
HttpHeaders from the provided ClientOptions . |
static String |
CoreUtils.getApplicationId(ClientOptions clientOptions,
HttpLogOptions logOptions)
Retrieves the application ID from either a
ClientOptions or HttpLogOptions . |
Copyright © 2021 Microsoft Corporation. All rights reserved.