| Package | Description |
|---|---|
| com.azure.core.http |
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
|
| com.azure.core.http.policy |
Package containing HttpPipelinePolicy interface and its implementations.
|
| Modifier and Type | Method and Description |
|---|---|
HttpPipelineCallContext |
HttpPipelineCallContext.setHttpRequest(HttpRequest request)
Sets the HTTP request object in the context.
|
| Modifier and Type | Method and Description |
|---|---|
Mono<HttpResponse> |
HttpPipeline.send(HttpPipelineCallContext context)
Sends the context (containing an HTTP request) through pipeline.
|
| Modifier and Type | Method and Description |
|---|---|
Mono<Void> |
BearerTokenAuthenticationPolicy.authorizeRequest(HttpPipelineCallContext context)
Executed before sending the initial request and authenticates the request.
|
Mono<Boolean> |
BearerTokenAuthenticationPolicy.authorizeRequestOnChallenge(HttpPipelineCallContext context,
HttpResponse response)
Handles the authentication challenge in the event a 401 response with a WWW-Authenticate authentication
challenge header is received after the initial request and returns appropriate
TokenRequestContext to
be used for re-authentication. |
Mono<HttpResponse> |
AddHeadersPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
AddDatePolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
AzureSasCredentialPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
RequestIdPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
TimeoutPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
BearerTokenAuthenticationPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
AddHeadersFromContextPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
PortPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
AzureKeyCredentialPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
UserAgentPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next)
Updates the "User-Agent" header with the value supplied in the policy.
|
Mono<HttpResponse> |
HostPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
RetryPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
HttpPipelinePolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next)
Processes provided request context and invokes the next policy.
|
Mono<HttpResponse> |
ProtocolPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
HttpLoggingPolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<HttpResponse> |
CookiePolicy.process(HttpPipelineCallContext context,
HttpPipelineNextPolicy next) |
Mono<Void> |
BearerTokenAuthenticationPolicy.setAuthorizationHeader(HttpPipelineCallContext context,
TokenRequestContext tokenRequestContext)
Authorizes the request with the bearer token acquired using the specified
tokenRequestContext |
Copyright © 2021 Microsoft Corporation. All rights reserved.