Package | Description |
---|---|
com.azure.core.http |
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
|
com.azure.core.http.rest |
Package containing REST-related APIs.
|
com.azure.core.util.polling |
Package containing API for long running operations.
|
Modifier and Type | Method and Description |
---|---|
HttpPipeline |
HttpPipelineBuilder.build()
Creates an
HttpPipeline based on options set in the builder. |
Modifier and Type | Method and Description |
---|---|
static <A> A |
RestProxy.create(Class<A> swaggerInterface,
HttpPipeline httpPipeline)
Create a proxy implementation of the provided Swagger interface.
|
static <A> A |
RestProxy.create(Class<A> swaggerInterface,
HttpPipeline httpPipeline,
SerializerAdapter serializer)
Create a proxy implementation of the provided Swagger interface.
|
Constructor and Description |
---|
DefaultPollingStrategy(HttpPipeline httpPipeline)
Creates a chained polling strategy with 3 known polling strategies,
OperationResourcePollingStrategy ,
LocationPollingStrategy , and StatusCheckPollingStrategy , in this order, with a JSON serializer. |
DefaultPollingStrategy(HttpPipeline httpPipeline,
JsonSerializer serializer)
Creates a chained polling strategy with 3 known polling strategies,
OperationResourcePollingStrategy ,
LocationPollingStrategy , and StatusCheckPollingStrategy , in this order, with a custom
serializer. |
LocationPollingStrategy(HttpPipeline httpPipeline)
Creates an instance of the location polling strategy using a JSON serializer.
|
LocationPollingStrategy(HttpPipeline httpPipeline,
ObjectSerializer serializer)
Creates an instance of the location polling strategy.
|
OperationResourcePollingStrategy(HttpPipeline httpPipeline)
Creates an instance of the operation resource polling strategy using a JSON serializer and "Operation-Location"
as the header for polling.
|
OperationResourcePollingStrategy(HttpPipeline httpPipeline,
ObjectSerializer serializer,
String operationLocationHeaderName)
Creates an instance of the operation resource polling strategy.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.