Package com.azure.android.core.http
Package containing HTTP abstractions, dispatcher for HTTP calls and HTTP client.
-
Interface Summary Interface Description HttpCallback The callback type to notify the result of an HTTP call.HttpCallDispatcher.HttpCallFunction Contract representing an HTTP call to execute.HttpClient A generic interface for sending HTTP requests and getting responses.HttpClientProvider An interface to be implemented by any azure-core plugin that wishes to provide an alternateHttpClient
implementation.HttpPipelinePolicy A policy within theHttpPipeline
.HttpPipelinePolicyChain The type that enablesHttpPipelinePolicy
implementations to access theHttpRequest
and the correspondingHttpResponse
flowing through the pipeline.NextPolicyCallback The callback type to receive the result from the next policy in the pipeline. -
Class Summary Class Description HttpCallDispatcher The dispatcher to dispatch async HTTP calls send through the pipeline.HttpHeader A single header within a HTTP request or response.HttpHeaders A collection of headers on an HTTP request or response.HttpPipeline The HTTP pipeline that HTTP requests and corresponding responses will flow through.HttpPipelineBuilder This class provides a fluent builder API to help aid the configuration and instantiation of theHttpPipeline
, callingbuild
constructs an instance of the pipeline.HttpRequest The outgoing Http request.HttpResponse The type representing response ofHttpRequest
.PolicyCompleter A completer provided toNextPolicyCallback.onSuccess
andNextPolicyCallback.onError
methods along with the result (response or error) produced from the next policy.PolicyCompleter.CompletionState The type representsNextPolicyCallback.onSuccess
andNextPolicyCallback.onError
return value. -
Enum Summary Enum Description HttpMethod The HTTP request methods.