A B C D E F G H I N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAllowedHeaderName(String) - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Sets the given whitelisted header to the default header set that should be logged.
- addAllowedQueryParamName(String) - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Sets the given whitelisted query param that should be logged.
- AddDatePolicy - Class in com.azure.android.core.http.policy
-
The pipeline policy that adds a "Date" header in RFC 1123 format when sending an HTTP request.
- AddDatePolicy() - Constructor for class com.azure.android.core.http.policy.AddDatePolicy
- AddHeadersPolicy - Class in com.azure.android.core.http.policy
-
The pipeline policy that adds a particular set of headers to HTTP requests.
- AddHeadersPolicy(HttpHeaders) - Constructor for class com.azure.android.core.http.policy.AddHeadersPolicy
-
Creates a AddHeadersPolicy.
- apply(HttpRequest, HttpCallback) - Method in interface com.azure.android.core.http.HttpCallDispatcher.HttpCallFunction
-
Perform an HTTP call.
- attemptToPipelineAuthorization(String, String, AuthorizationChallengeHandler.Supplier<byte[]>) - Method in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Attempts to pipeline requests by applying the most recent authorization type used to create an authorization header.
- AUTHENTICATION_INFO - Static variable in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Header representing additional information a server is expecting during future authentication requests.
- AUTHORIZATION - Static variable in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Header representing the authorization the client is presenting to a server.
- AuthorizationChallengeHandler - Class in com.azure.android.core.http.util
-
This class handles Basic and Digest authorization challenges, complying to RFC 2617 and RFC 7616.
- AuthorizationChallengeHandler(String, String) - Constructor for class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Creates an
AuthorizationChallengeHandler
using theusername
andpassword
to respond to authentication challenges. - AzureKeyCredentialPolicy - Class in com.azure.android.core.http.policy
-
Pipeline policy that uses an
AzureKeyCredential
to set the authorization key for a request. - AzureKeyCredentialPolicy(String, AzureKeyCredential) - Constructor for class com.azure.android.core.http.policy.AzureKeyCredentialPolicy
-
Creates a policy that uses the provided
AzureKeyCredential
to set the specified header name.
B
- BASIC - com.azure.android.core.http.policy.HttpLogDetailLevel
-
Logs only URLs, HTTP methods, and time to finish the request.
- BearerTokenAuthenticationPolicy - Class in com.azure.android.core.http.policy
-
The pipeline policy that applies a token credential to an HTTP request with "Bearer" scheme.
- BearerTokenAuthenticationPolicy(TokenCredential, String...) - Constructor for class com.azure.android.core.http.policy.BearerTokenAuthenticationPolicy
-
Creates BearerTokenAuthenticationPolicy.
- BODY - com.azure.android.core.http.policy.HttpLogDetailLevel
-
Logs everything in BASIC, plus all the request and response body.
- BODY_AND_HEADERS - com.azure.android.core.http.policy.HttpLogDetailLevel
-
Logs everything in HEADERS and BODY.
- buffer() - Method in class com.azure.android.core.http.HttpResponse
-
Get a new Response object wrapping this response with it's content buffered into memory.
- buffer() - Method in class com.azure.android.core.http.implementation.BufferedHttpResponse
- BufferedHttpResponse - Class in com.azure.android.core.http.implementation
-
HTTP response which will buffer the response's body.
- BufferedHttpResponse(HttpResponse) - Constructor for class com.azure.android.core.http.implementation.BufferedHttpResponse
-
Creates a buffered HTTP response.
- build() - Method in class com.azure.android.core.http.HttpPipelineBuilder
-
Creates a
HttpPipeline
based on options set in the Builder.
C
- calculateRetryDelay(HttpResponse, Throwable, int) - Method in class com.azure.android.core.http.policy.ExponentialBackoff
- calculateRetryDelay(HttpResponse, Throwable, int) - Method in class com.azure.android.core.http.policy.FixedDelay
- calculateRetryDelay(HttpResponse, Throwable, int) - Method in class com.azure.android.core.http.policy.RetryPolicy
-
Determines the delay duration that should be waited before retrying.
- calculateRetryDelay(HttpResponse, Throwable, int) - Method in interface com.azure.android.core.http.policy.RetryStrategy
-
Determines the delay duration that should be waited before retrying.
- ClientAuthenticationException - Exception in com.azure.android.core.http.exception
-
The exception thrown when failed to authenticate the client request with status code of 4XX, typically 401 unauthorized.
- ClientAuthenticationException(String, HttpResponse) - Constructor for exception com.azure.android.core.http.exception.ClientAuthenticationException
-
Initializes a new instance of the
ClientAuthenticationException
class. - ClientAuthenticationException(String, HttpResponse, Object) - Constructor for exception com.azure.android.core.http.exception.ClientAuthenticationException
-
Initializes a new instance of the
ClientAuthenticationException
class. - ClientAuthenticationException(String, HttpResponse, Throwable) - Constructor for exception com.azure.android.core.http.exception.ClientAuthenticationException
-
Initializes a new instance of the
ClientAuthenticationException
class. - close() - Method in class com.azure.android.core.http.HttpResponse
-
Closes the response content stream, if any.
- close() - Method in class com.azure.android.core.http.implementation.BufferedHttpResponse
- com.azure.android.core.http - package com.azure.android.core.http
-
Package containing HTTP abstractions, dispatcher for HTTP calls and HTTP client.
- com.azure.android.core.http.exception - package com.azure.android.core.http.exception
-
Package containing http exception classes.
- com.azure.android.core.http.implementation - package com.azure.android.core.http.implementation
- com.azure.android.core.http.policy - package com.azure.android.core.http.policy
-
Package containing
HttpPipelinePolicy
implementations. - com.azure.android.core.http.util - package com.azure.android.core.http.util
-
Package containing utils used by HttpClients.
- completed(HttpResponse) - Method in interface com.azure.android.core.http.HttpPipelinePolicyChain
-
Signal that the policy execution is successfully completed.
- completed(HttpResponse) - Method in class com.azure.android.core.http.PolicyCompleter
-
The method to notify the successful completion of result interception.
- completedError(Throwable) - Method in interface com.azure.android.core.http.HttpPipelinePolicyChain
-
Signal that the policy execution is completed with failure.
- completedError(Throwable) - Method in class com.azure.android.core.http.PolicyCompleter
-
The method to notify that interception is completed with error.
- CONNECT - com.azure.android.core.http.HttpMethod
-
The HTTP CONNECT method.
- consumeAuthenticationInfoHeader(Map<String, String>) - Method in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Consumes either the 'Authentication-Info' or 'Proxy-Authentication-Info' header returned in a response from a server.
- CookiePolicy - Class in com.azure.android.core.http.policy
-
The pipeline policy that which stores cookies based on the response "Set-Cookie" header and adds cookies to requests.
- CookiePolicy() - Constructor for class com.azure.android.core.http.policy.CookiePolicy
- copy() - Method in class com.azure.android.core.http.HttpRequest
-
Creates a copy of the request.
- createDefault() - Static method in interface com.azure.android.core.http.HttpClient
-
Create default
HttpClient
instance. - createInstance() - Method in interface com.azure.android.core.http.HttpClientProvider
-
Creates a new instance of the
HttpClient
that this HttpClientProvider is configured to create. - createInstance() - Static method in class com.azure.android.core.http.implementation.HttpClientProviders
D
- defer() - Method in class com.azure.android.core.http.PolicyCompleter
-
Defers the execution of a previous policy's response interception until one of the completed method i.e.
- DELETE - com.azure.android.core.http.HttpMethod
-
The HTTP DELETE method.
E
- enqueue(HttpCallDispatcher.HttpCallFunction, HttpRequest, CancellationToken, HttpCallback) - Method in class com.azure.android.core.http.HttpCallDispatcher
-
Enqueue a function to perform the HTTP call on the dispatcher thread.
- ExponentialBackoff - Class in com.azure.android.core.http.policy
-
The retry strategy with full jitter backoff.
- ExponentialBackoff() - Constructor for class com.azure.android.core.http.policy.ExponentialBackoff
-
Creates
ExponentialBackoff
retry strategy with default settings. - ExponentialBackoff(int, Duration, Duration) - Constructor for class com.azure.android.core.http.policy.ExponentialBackoff
-
Creates
ExponentialBackoff
retry strategy.
F
- FixedDelay - Class in com.azure.android.core.http.policy
-
The retry strategy with fixed backoff delay.
- FixedDelay(int, Duration) - Constructor for class com.azure.android.core.http.policy.FixedDelay
-
Creates
FixedDelay
retry strategy.
G
- get(String) - Method in class com.azure.android.core.http.HttpHeaders
-
Gets the
header
for the provided header name. - GET - com.azure.android.core.http.HttpMethod
-
The HTTP GET method.
- getAllowedHeaderNames() - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Gets the whitelisted headers that should be logged.
- getAllowedQueryParamNames() - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Gets the whitelisted query parameters.
- getBody() - Method in class com.azure.android.core.http.HttpRequest
-
Get the request content.
- getBody() - Method in class com.azure.android.core.http.HttpResponse
-
Get the
InputStream
producing response content chunks. - getBody() - Method in class com.azure.android.core.http.implementation.BufferedHttpResponse
- getBodyAsByteArray() - Method in class com.azure.android.core.http.HttpResponse
-
Get the response content as a byte[].
- getBodyAsByteArray() - Method in class com.azure.android.core.http.implementation.BufferedHttpResponse
- getBodyAsString() - Method in class com.azure.android.core.http.HttpResponse
-
Get the response content as a string.
- getBodyAsString() - Method in class com.azure.android.core.http.implementation.BufferedHttpResponse
- getBodyAsString(Charset) - Method in class com.azure.android.core.http.HttpResponse
-
Get the response content as a string.
- getBodyAsString(Charset) - Method in class com.azure.android.core.http.implementation.BufferedHttpResponse
- getCancellationToken() - Method in interface com.azure.android.core.http.HttpPipelinePolicyChain
-
Gets the
CancellationToken
associated with the pipeline run. - getContext() - Method in interface com.azure.android.core.http.HttpPipelinePolicyChain
-
Gets the context that was given to
HttpPipeline.send(HttpRequest, RequestContext, CancellationToken, HttpCallback)
call, the send call that initiated the pipeline run. - getHeaders() - Method in class com.azure.android.core.http.HttpRequest
-
Get the request headers.
- getHeaders() - Method in class com.azure.android.core.http.HttpResponse
-
Get all response headers.
- getHeaders() - Method in class com.azure.android.core.http.implementation.BufferedHttpResponse
- getHeaderValue(String) - Method in class com.azure.android.core.http.HttpResponse
-
Lookup a response header with the provided name.
- getHeaderValue(String) - Method in class com.azure.android.core.http.implementation.BufferedHttpResponse
- getHost() - Method in class com.azure.android.core.http.util.UrlBuilder
-
Get the host that has been assigned to this UrlBuilder.
- getHttpCallDispatcher() - Method in interface com.azure.android.core.http.HttpClient
-
Gets the dispatcher to dispatch async HTTP calls.
- getHttpClient() - Method in class com.azure.android.core.http.HttpPipeline
-
Get the
HttpClient
associated with the pipeline. - getHttpMethod() - Method in class com.azure.android.core.http.HttpRequest
-
Get the request method.
- getLogLevel() - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Gets the level of detail to log on HTTP messages.
- getMaxRetries() - Method in class com.azure.android.core.http.policy.ExponentialBackoff
- getMaxRetries() - Method in class com.azure.android.core.http.policy.FixedDelay
- getMaxRetries() - Method in interface com.azure.android.core.http.policy.RetryStrategy
-
Get the maximum number of times to retry.
- getMaxRunningCalls() - Method in class com.azure.android.core.http.HttpCallDispatcher
-
Gets the maximum number of HTTP calls that can run concurrently in the dispatcher threads.
- getPath() - Method in class com.azure.android.core.http.util.UrlBuilder
-
Get the path that has been assigned to this UrlBuilder.
- getPolicy(int) - Method in class com.azure.android.core.http.HttpPipeline
-
Get the policy at the provided index in the pipeline.
- getPort() - Method in class com.azure.android.core.http.util.UrlBuilder
-
Get the port that has been assigned to this UrlBuilder.
- getQuery() - Method in class com.azure.android.core.http.util.UrlBuilder
-
Get the query that has been assigned to this UrlBuilder.
- getQueryString() - Method in class com.azure.android.core.http.util.UrlBuilder
-
Returns the query string currently configured in this UrlBuilder instance.
- getRequest() - Method in exception com.azure.android.core.http.exception.HttpRequestException
- getRequest() - Method in interface com.azure.android.core.http.HttpPipelinePolicyChain
-
Gets the
HttpRequest
for the policy too intercept. - getRequest() - Method in class com.azure.android.core.http.HttpResponse
-
Get the request which resulted in this response.
- getResponse() - Method in exception com.azure.android.core.http.exception.HttpResponseException
- getScheme() - Method in class com.azure.android.core.http.util.UrlBuilder
-
Get the scheme/protocol that has been assigned to this UrlBuilder.
- getSize() - Method in class com.azure.android.core.http.HttpHeaders
-
Gets the number of headers in the collection.
- getStatusCode() - Method in class com.azure.android.core.http.HttpResponse
-
Get the response status code.
- getStatusCode() - Method in class com.azure.android.core.http.implementation.BufferedHttpResponse
- getTags() - Method in class com.azure.android.core.http.HttpRequest
-
Gets the tags-store associated with the request.
- getUrl() - Method in class com.azure.android.core.http.HttpRequest
-
Get the target address.
- getValue() - Method in exception com.azure.android.core.http.exception.HttpResponseException
- getValue(String) - Method in class com.azure.android.core.http.HttpHeaders
-
Get the value for the provided header name.
- getValues(String) - Method in class com.azure.android.core.http.HttpHeaders
-
Get the values for the provided header name.
H
- handleBasic() - Method in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Handles Basic authentication challenges.
- handleDigest(String, String, List<Map<String, String>>, AuthorizationChallengeHandler.Supplier<byte[]>) - Method in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Handles Digest authentication challenges.
- HEAD - com.azure.android.core.http.HttpMethod
-
The HTTP HEAD method.
- HEADERS - com.azure.android.core.http.policy.HttpLogDetailLevel
-
Logs everything in BASIC, plus all the request and response headers.
- HostPolicy - Class in com.azure.android.core.http.policy
-
The pipeline policy that adds the given host to each HttpRequest.
- HostPolicy(String) - Constructor for class com.azure.android.core.http.policy.HostPolicy
-
Create HostPolicy.
- HttpCallback - Interface in com.azure.android.core.http
-
The callback type to notify the result of an HTTP call.
- HttpCallDispatcher - Class in com.azure.android.core.http
-
The dispatcher to dispatch async HTTP calls send through the pipeline.
- HttpCallDispatcher() - Constructor for class com.azure.android.core.http.HttpCallDispatcher
-
Creates an HttpCallDispatcher with an ExecutorService with default settings to execute HTTP calls.
- HttpCallDispatcher(ExecutorService) - Constructor for class com.azure.android.core.http.HttpCallDispatcher
-
Creates an HttpCallDispatcher that uses the given
executorService
to execute HTTP calls. - HttpCallDispatcher(ExecutorService, ScheduledExecutorService) - Constructor for class com.azure.android.core.http.HttpCallDispatcher
-
Creates an HttpCallDispatcher that uses the given
executorService
to execute HTTP calls and uses the the givenscheduledExecutorService
to schedule HTTP calls to execute onexecutorService
after a specific delay. - HttpCallDispatcher.HttpCallFunction - Interface in com.azure.android.core.http
-
Contract representing an HTTP call to execute.
- httpClient(HttpClient) - Method in class com.azure.android.core.http.HttpPipelineBuilder
-
Sets the HttpClient that the pipeline will use to send requests.
- HttpClient - Interface in com.azure.android.core.http
-
A generic interface for sending HTTP requests and getting responses.
- HttpClientProvider - Interface in com.azure.android.core.http
-
An interface to be implemented by any azure-core plugin that wishes to provide an alternate
HttpClient
implementation. - HttpClientProviders - Class in com.azure.android.core.http.implementation
-
This class handles loading available HTTP clients
- HttpHeader - Class in com.azure.android.core.http
-
A single header within a HTTP request or response.
- HttpHeader(String, String) - Constructor for class com.azure.android.core.http.HttpHeader
-
Create a HttpHeader instance using the provided name and value.
- HttpHeaders - Class in com.azure.android.core.http
-
A collection of headers on an HTTP request or response.
- HttpHeaders() - Constructor for class com.azure.android.core.http.HttpHeaders
-
Create an empty HttpHeaders instance.
- HttpHeaders(Iterable<HttpHeader>) - Constructor for class com.azure.android.core.http.HttpHeaders
-
Create a HttpHeaders instance with the provided initial headers.
- HttpHeaders(Map<String, String>) - Constructor for class com.azure.android.core.http.HttpHeaders
-
Create a HttpHeaders instance with the provided initial headers.
- HttpLogDetailLevel - Enum in com.azure.android.core.http.policy
-
The level of detail to log on HTTP messages.
- HttpLoggingPolicy - Class in com.azure.android.core.http.policy
-
The pipeline policy that handles logging of HTTP requests and responses.
- HttpLoggingPolicy(HttpLogOptions) - Constructor for class com.azure.android.core.http.policy.HttpLoggingPolicy
-
Creates an HttpLoggingPolicy with the given log configurations.
- HttpLogOptions - Class in com.azure.android.core.http.policy
-
The log configurations for HTTP messages.
- HttpLogOptions() - Constructor for class com.azure.android.core.http.policy.HttpLogOptions
-
Creates a new instance that does not log any information about HTTP requests or responses.
- HttpMethod - Enum in com.azure.android.core.http
-
The HTTP request methods.
- HttpPipeline - Class in com.azure.android.core.http
-
The HTTP pipeline that HTTP requests and corresponding responses will flow through.
- HttpPipelineBuilder - Class in com.azure.android.core.http
-
This class provides a fluent builder API to help aid the configuration and instantiation of the
HttpPipeline
, callingbuild
constructs an instance of the pipeline. - HttpPipelineBuilder() - Constructor for class com.azure.android.core.http.HttpPipelineBuilder
-
Creates a new instance of HttpPipelineBuilder that can configure options for the
HttpPipeline
before creating an instance of it. - HttpPipelinePolicy - Interface in com.azure.android.core.http
-
A policy within the
HttpPipeline
. - HttpPipelinePolicyChain - Interface in com.azure.android.core.http
-
The type that enables
HttpPipelinePolicy
implementations to access theHttpRequest
and the correspondingHttpResponse
flowing through the pipeline. - HttpRequest - Class in com.azure.android.core.http
-
The outgoing Http request.
- HttpRequest(HttpMethod, String) - Constructor for class com.azure.android.core.http.HttpRequest
-
Create a new HttpRequest instance.
- HttpRequest(HttpMethod, String, HttpHeaders, byte[]) - Constructor for class com.azure.android.core.http.HttpRequest
-
Create a new HttpRequest instance.
- HttpRequestException - Exception in com.azure.android.core.http.exception
-
The exception when an HTTP request fails.
- HttpRequestException(HttpRequest) - Constructor for exception com.azure.android.core.http.exception.HttpRequestException
-
Initializes a new instance of the HttpRequestException class.
- HttpRequestException(HttpRequest, Throwable) - Constructor for exception com.azure.android.core.http.exception.HttpRequestException
-
Initializes a new instance of the HttpRequestException class.
- HttpRequestException(String, HttpRequest) - Constructor for exception com.azure.android.core.http.exception.HttpRequestException
-
Initializes a new instance of the HttpRequestException class.
- HttpRequestException(String, HttpRequest, Throwable) - Constructor for exception com.azure.android.core.http.exception.HttpRequestException
-
Initializes a new instance of the HttpRequestException class.
- HttpResponse - Class in com.azure.android.core.http
-
The type representing response of
HttpRequest
. - HttpResponse(HttpRequest) - Constructor for class com.azure.android.core.http.HttpResponse
-
Creates a HttpResponse.
- HttpResponseException - Exception in com.azure.android.core.http.exception
-
The exception thrown when an unsuccessful response is received with http status code (e.g.
- HttpResponseException(HttpResponse) - Constructor for exception com.azure.android.core.http.exception.HttpResponseException
-
Initializes a new instance of the HttpResponseException class.
- HttpResponseException(HttpResponse, Throwable) - Constructor for exception com.azure.android.core.http.exception.HttpResponseException
-
Initializes a new instance of the HttpResponseException class.
- HttpResponseException(String, HttpResponse) - Constructor for exception com.azure.android.core.http.exception.HttpResponseException
-
Initializes a new instance of the HttpResponseException class.
- HttpResponseException(String, HttpResponse, Object) - Constructor for exception com.azure.android.core.http.exception.HttpResponseException
-
Initializes a new instance of the HttpResponseException class.
- HttpResponseException(String, HttpResponse, Throwable) - Constructor for exception com.azure.android.core.http.exception.HttpResponseException
-
Initializes a new instance of the HttpResponseException class.
I
- isPrettyPrintBody() - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Gets flag to allow pretty printing of message bodies.
- iterator() - Method in class com.azure.android.core.http.HttpHeaders
N
- NextPolicyCallback - Interface in com.azure.android.core.http
-
The callback type to receive the result from the next policy in the pipeline.
- NONE - com.azure.android.core.http.policy.HttpLogDetailLevel
-
Logging is turned off.
O
- onError(Throwable) - Method in interface com.azure.android.core.http.HttpCallback
-
Called when the
HttpRequest
call could not be executed due an error. - onError(Throwable, PolicyCompleter) - Method in interface com.azure.android.core.http.NextPolicyCallback
-
The method that receives and intercept the
error
from the next policy. - onSuccess(HttpResponse) - Method in interface com.azure.android.core.http.HttpCallback
-
Called when the
HttpResponse
is successfully returned by the HTTP server. - onSuccess(HttpResponse, PolicyCompleter) - Method in interface com.azure.android.core.http.NextPolicyCallback
-
The method that receives and intercept the
HttpResponse
from the next policy. - OPTIONS - com.azure.android.core.http.HttpMethod
-
The HTTP OPTIONS method.
P
- parse(String) - Static method in class com.azure.android.core.http.util.UrlBuilder
-
Parses the passed
url
string into a UrlBuilder. - parse(URL) - Static method in class com.azure.android.core.http.util.UrlBuilder
-
Parse a UrlBuilder from the provided URL object.
- parseAuthenticationOrAuthorizationHeader(String) - Static method in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Parses the
Authorization
orAuthentication
header into its key-value pairs. - PATCH - com.azure.android.core.http.HttpMethod
-
The HTTP PATCH method.
- policies(HttpPipelinePolicy...) - Method in class com.azure.android.core.http.HttpPipelineBuilder
-
Adds
policies
to the set of policies that the pipeline will use when sending requests. - PolicyCompleter - Class in com.azure.android.core.http
-
A completer provided to
NextPolicyCallback.onSuccess
andNextPolicyCallback.onError
methods along with the result (response or error) produced from the next policy. - PolicyCompleter.CompletionState - Class in com.azure.android.core.http
-
The type represents
NextPolicyCallback.onSuccess
andNextPolicyCallback.onError
return value. - PortPolicy - Class in com.azure.android.core.http.policy
-
The pipeline policy that adds a given port to each
HttpRequest
. - PortPolicy(int, boolean) - Constructor for class com.azure.android.core.http.policy.PortPolicy
-
Creates a new PortPolicy object.
- POST - com.azure.android.core.http.HttpMethod
-
The HTTP POST method.
- process(HttpPipelinePolicyChain) - Method in interface com.azure.android.core.http.HttpPipelinePolicy
-
Applies the policy to a
HttpRequest
and the correspondingHttpResponse
. - process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.AddDatePolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.AddHeadersPolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.AzureKeyCredentialPolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.BearerTokenAuthenticationPolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.CookiePolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.HostPolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.HttpLoggingPolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.PortPolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.ProtocolPolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.RequestIdPolicy
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.RetryPolicy
-
Intercepts any exception in the pipeline or the HTTP response error and, if recoverable, retries sending the request.
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.http.policy.UserAgentPolicy
-
Updates the "User-Agent" header with the value supplied at the time of creating policy.
- processNextPolicy(HttpRequest) - Method in interface com.azure.android.core.http.HttpPipelinePolicyChain
-
Signal that the pipeline can proceed with the execution of the next policy.
- processNextPolicy(HttpRequest, NextPolicyCallback) - Method in interface com.azure.android.core.http.HttpPipelinePolicyChain
-
Signal that the pipeline can proceed with the execution of the next policy.
- processNextPolicy(HttpRequest, NextPolicyCallback, long, TimeUnit) - Method in interface com.azure.android.core.http.HttpPipelinePolicyChain
-
Signal that, after the specified delay the pipeline can proceed with the execution of the next policy.
- ProtocolPolicy - Class in com.azure.android.core.http.policy
-
The pipeline policy that adds a given protocol to each HttpRequest.
- ProtocolPolicy(String, boolean) - Constructor for class com.azure.android.core.http.policy.ProtocolPolicy
-
Creates a new ProtocolPolicy.
- PROXY_AUTHENTICATE - Static variable in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Header representing a proxy server requesting authentication.
- PROXY_AUTHENTICATION_INFO - Static variable in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Header representing additional information a proxy server is expecting during future authentication requests.
- PROXY_AUTHORIZATION - Static variable in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Header representing the authorization the client is presenting to a proxy server.
- put(String, String) - Method in class com.azure.android.core.http.HttpHeaders
-
Sets a
header
with the given name and value. - PUT - com.azure.android.core.http.HttpMethod
-
The HTTP PUT method.
R
- remove(String) - Method in class com.azure.android.core.http.HttpHeaders
-
Removes the
header
with the provided header name. - RequestIdPolicy - Class in com.azure.android.core.http.policy
-
The pipeline policy that puts a UUID in the request header.
- RequestIdPolicy() - Constructor for class com.azure.android.core.http.policy.RequestIdPolicy
-
Creates default
RequestIdPolicy
with default header name 'x-ms-client-request-id'. - RequestIdPolicy(String) - Constructor for class com.azure.android.core.http.policy.RequestIdPolicy
-
Creates
RequestIdPolicy
with providedrequestIdHeaderName
. - requireNonNull(T, String) - Static method in class com.azure.android.core.http.implementation.Util
- ResourceExistsException - Exception in com.azure.android.core.http.exception
-
The exception thrown when HTTP request tried to create an already existing resource with status code of 4XX, typically 412 conflict.
- ResourceExistsException(String, HttpResponse) - Constructor for exception com.azure.android.core.http.exception.ResourceExistsException
-
Initializes a new instance of the ResourceExistsException class.
- ResourceExistsException(String, HttpResponse, Object) - Constructor for exception com.azure.android.core.http.exception.ResourceExistsException
-
Initializes a new instance of the ResourceExistsException class.
- ResourceExistsException(String, HttpResponse, Throwable) - Constructor for exception com.azure.android.core.http.exception.ResourceExistsException
-
Initializes a new instance of the ResourceExistsException class.
- ResourceModifiedException - Exception in com.azure.android.core.http.exception
-
The exception thrown for invalid resource modification with status code of 4XX, typically 409 Conflict.
- ResourceModifiedException(String, HttpResponse) - Constructor for exception com.azure.android.core.http.exception.ResourceModifiedException
-
Initializes a new instance of the ResourceModifiedException class.
- ResourceModifiedException(String, HttpResponse, Object) - Constructor for exception com.azure.android.core.http.exception.ResourceModifiedException
-
Initializes a new instance of the ResourceModifiedException class.
- ResourceModifiedException(String, HttpResponse, Throwable) - Constructor for exception com.azure.android.core.http.exception.ResourceModifiedException
-
Initializes a new instance of the ResourceModifiedException class.
- ResourceNotFoundException - Exception in com.azure.android.core.http.exception
-
An error response, typically triggered by a 412 response (for update) or 404 (for get/post)
- ResourceNotFoundException(String, HttpResponse) - Constructor for exception com.azure.android.core.http.exception.ResourceNotFoundException
-
Initializes a new instance of the ResourceNotFoundException class.
- ResourceNotFoundException(String, HttpResponse, Object) - Constructor for exception com.azure.android.core.http.exception.ResourceNotFoundException
-
Initializes a new instance of the ResourceNotFoundException class.
- ResourceNotFoundException(String, HttpResponse, Throwable) - Constructor for exception com.azure.android.core.http.exception.ResourceNotFoundException
-
Initializes a new instance of the ResourceNotFoundException class.
- RETRY_COUNT_CONTEXT - Static variable in class com.azure.android.core.http.policy.HttpLoggingPolicy
-
Key for
RequestContext
to pass request retry count metadata for logging. - RetryPolicy - Class in com.azure.android.core.http.policy
-
Pipeline interceptor that retries when a recoverable exception or HTTP error occurs.
- RetryPolicy(RetryStrategy) - Constructor for class com.azure.android.core.http.policy.RetryPolicy
-
Creates
RetryPolicy
with the providedRetryStrategy
. - RetryStrategy - Interface in com.azure.android.core.http.policy
-
The interface for determining the retry strategy used in
RetryPolicy
.
S
- send(HttpRequest, CancellationToken, HttpCallback) - Method in interface com.azure.android.core.http.HttpClient
-
Send the provided request asynchronously.
- send(HttpRequest, RequestContext, CancellationToken, HttpCallback) - Method in class com.azure.android.core.http.HttpPipeline
-
Execute an HTTP call by sending the
request
through the HTTP pipeline. - setAllowedHeaderNames(Set<String>) - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Sets the given whitelisted headers that should be logged.
- setAllowedQueryParamNames(Set<String>) - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Sets the given whitelisted query params to be displayed in the logging info.
- setBody(byte[]) - Method in class com.azure.android.core.http.HttpRequest
-
Set the request content.
- setBody(String) - Method in class com.azure.android.core.http.HttpRequest
-
Set the request content.
- setHeader(String, String) - Method in class com.azure.android.core.http.HttpRequest
-
Set a request header, replacing any existing value.
- setHeaders(HttpHeaders) - Method in class com.azure.android.core.http.HttpRequest
-
Set the request headers.
- setHost(String) - Method in class com.azure.android.core.http.util.UrlBuilder
-
Set the host that will be used to build the final URL.
- setHttpMethod(HttpMethod) - Method in class com.azure.android.core.http.HttpRequest
-
Set the request method.
- setLogLevel(HttpLogDetailLevel) - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Sets the level of detail to log on Http messages.
- setMaxRunningCalls(int) - Method in class com.azure.android.core.http.HttpCallDispatcher
-
Sets the maximum number of HTTP calls to run concurrently.
- setPath(String) - Method in class com.azure.android.core.http.util.UrlBuilder
-
Set the path that will be used to build the final URL.
- setPort(int) - Method in class com.azure.android.core.http.util.UrlBuilder
-
Set the port that will be used to build the final URL.
- setPort(String) - Method in class com.azure.android.core.http.util.UrlBuilder
-
Set the port that will be used to build the final URL.
- setPrettyPrintBody(boolean) - Method in class com.azure.android.core.http.policy.HttpLogOptions
-
Sets flag to allow pretty printing of message bodies.
- setQuery(String) - Method in class com.azure.android.core.http.util.UrlBuilder
-
Set the query that will be used to build the final URL.
- setQueryParameter(String, String) - Method in class com.azure.android.core.http.util.UrlBuilder
-
Set the provided query parameter name and encoded value to query string for the final URL.
- setScheme(String) - Method in class com.azure.android.core.http.util.UrlBuilder
-
Set the scheme/protocol that will be used to build the final URL.
- setUrl(String) - Method in class com.azure.android.core.http.HttpRequest
-
Set the target address to send the request to.
- shouldLogBody() - Method in enum com.azure.android.core.http.policy.HttpLogDetailLevel
- shouldLogHeaders() - Method in enum com.azure.android.core.http.policy.HttpLogDetailLevel
- shouldLogUrl() - Method in enum com.azure.android.core.http.policy.HttpLogDetailLevel
- shouldRetry(HttpResponse, Throwable, int) - Method in interface com.azure.android.core.http.policy.RetryStrategy
-
Determines any retry should be performed.
T
- toMap() - Method in class com.azure.android.core.http.HttpHeaders
-
Gets a
Map
representation of the HttpHeaders collection. - TooManyRedirectsException - Exception in com.azure.android.core.http.exception
-
This exception is thrown when an HTTP request has reached the maximum number of redirect attempts with HTTP status code of 3XX.
- TooManyRedirectsException(String, HttpResponse) - Constructor for exception com.azure.android.core.http.exception.TooManyRedirectsException
-
Initializes a new instance of the TooManyRedirectsException class.
- TooManyRedirectsException(String, HttpResponse, Object) - Constructor for exception com.azure.android.core.http.exception.TooManyRedirectsException
-
Initializes a new instance of the TooManyRedirectsException class.
- TooManyRedirectsException(String, HttpResponse, Throwable) - Constructor for exception com.azure.android.core.http.exception.TooManyRedirectsException
-
Initializes a new instance of the TooManyRedirectsException class.
- toString() - Method in class com.azure.android.core.http.HttpHeaders
- toString() - Method in class com.azure.android.core.http.util.UrlBuilder
-
Get the string representation of the URL that is being built.
- toUrl() - Method in class com.azure.android.core.http.util.UrlBuilder
-
Get the URL that is being built.
- TRACE - com.azure.android.core.http.HttpMethod
-
The HTTP TRACE method.
U
- UrlBuilder - Class in com.azure.android.core.http.util
-
A builder class that is used to create URLs.
- UrlBuilder() - Constructor for class com.azure.android.core.http.util.UrlBuilder
- UrlTokenizer - Class in com.azure.android.core.http.util
-
The type to enumerate URL tokens in a text.
- UrlTokenizer(String) - Constructor for class com.azure.android.core.http.util.UrlTokenizer
-
Creates the UrlTokenizer.
- UserAgentPolicy - Class in com.azure.android.core.http.policy
-
Pipeline policy that adds "User-Agent" header to a request.
- UserAgentPolicy() - Constructor for class com.azure.android.core.http.policy.UserAgentPolicy
-
Creates a
UserAgentPolicy
with a default user agent string i.e. - UserAgentPolicy(String, String, String) - Constructor for class com.azure.android.core.http.policy.UserAgentPolicy
-
Creates a UserAgentPolicy with the
sdkName
andsdkVersion
in the User-Agent header value. - Util - Class in com.azure.android.core.http.implementation
V
- valueOf(String) - Static method in enum com.azure.android.core.http.HttpMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.azure.android.core.http.policy.HttpLogDetailLevel
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.azure.android.core.http.HttpMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.azure.android.core.http.policy.HttpLogDetailLevel
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withExponentialBackoff() - Static method in class com.azure.android.core.http.policy.RetryPolicy
-
Get an instance of
RetryPolicy
that uses a default full jitter backoff retry strategy. - withExponentialBackoff(int, Duration, Duration) - Static method in class com.azure.android.core.http.policy.RetryPolicy
-
Get an instance of
RetryPolicy
that uses full jitter backoff retry strategy. - withFixedDelay(int, Duration) - Static method in class com.azure.android.core.http.policy.RetryPolicy
-
Get an instance of
RetryPolicy
that uses fixed backoff delay retry strategy. - WWW_AUTHENTICATE - Static variable in class com.azure.android.core.http.util.AuthorizationChallengeHandler
-
Header representing a server requesting authentication.
All Classes All Packages