Uses of Class
com.azure.core.http.HttpPipelineCallContext
Packages that use HttpPipelineCallContext
Package
Description
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
Package containing HttpPipelinePolicy interface and its implementations.
-
Uses of HttpPipelineCallContext in com.azure.core.http
Methods in com.azure.core.http that return HttpPipelineCallContextModifier and TypeMethodDescriptionHttpPipelineCallContext.setHttpRequest
(HttpRequest request) Sets the HTTP request object in the context.Methods in com.azure.core.http with parameters of type HttpPipelineCallContextModifier and TypeMethodDescriptionHttpPipeline.send
(HttpPipelineCallContext context) Sends the context (containing an HTTP request) through pipeline. -
Uses of HttpPipelineCallContext in com.azure.core.http.policy
Methods in com.azure.core.http.policy with parameters of type HttpPipelineCallContextModifier and TypeMethodDescriptionprotected HttpResponse
HttpPipelineSyncPolicy.afterReceivedResponse
(HttpPipelineCallContext context, HttpResponse response) Method is invoked after the response is received.BearerTokenAuthenticationPolicy.authorizeRequest
(HttpPipelineCallContext context) Executed before sending the initial request and authenticates the request.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 appropriateTokenRequestContext
to be used for re-authentication.boolean
BearerTokenAuthenticationPolicy.authorizeRequestOnChallengeSync
(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 appropriateTokenRequestContext
to be used for re-authentication.void
BearerTokenAuthenticationPolicy.authorizeRequestSync
(HttpPipelineCallContext context) Synchronously executed before sending the initial request and authenticates the request.protected void
HttpPipelineSyncPolicy.beforeSendingRequest
(HttpPipelineCallContext context) Method is invoked before the request is sent.AddDatePolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) AddHeadersFromContextPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) AddHeadersPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) AzureKeyCredentialPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) AzureSasCredentialPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) BearerTokenAuthenticationPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) CookiePolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) HostPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) HttpLoggingPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) HttpPipelinePolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Processes provided request context and invokes the next policy.final Mono<HttpResponse>
HttpPipelineSyncPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Processes provided request context and invokes the next policy.PortPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) ProtocolPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) RedirectPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) RequestIdPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) RetryPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) TimeoutPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Deprecated.UserAgentPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Updates the "User-Agent" header with the value supplied in the policy.AddDatePolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) AddHeadersFromContextPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) AddHeadersPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) AzureKeyCredentialPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) AzureSasCredentialPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) BearerTokenAuthenticationPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) CookiePolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) HostPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) HttpLoggingPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) default HttpResponse
HttpPipelinePolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) Processes provided request context and invokes the next policy synchronously.final HttpResponse
HttpPipelineSyncPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) Processes provided request context and invokes the next policy synchronously.PortPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) ProtocolPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) RedirectPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) RequestIdPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) RetryPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) UserAgentPolicy.processSync
(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) Updates the "User-Agent" header with the value supplied in the policy synchronously.BearerTokenAuthenticationPolicy.setAuthorizationHeader
(HttpPipelineCallContext context, TokenRequestContext tokenRequestContext) Authorizes the request with the bearer token acquired using the specifiedtokenRequestContext
void
BearerTokenAuthenticationPolicy.setAuthorizationHeaderSync
(HttpPipelineCallContext context, TokenRequestContext tokenRequestContext) Authorizes the request with the bearer token acquired using the specifiedtokenRequestContext
boolean
DefaultRedirectStrategy.shouldAttemptRedirect
(HttpPipelineCallContext context, HttpResponse httpResponse, int tryCount, Set<String> attemptedRedirectUrls) boolean
RedirectStrategy.shouldAttemptRedirect
(HttpPipelineCallContext context, HttpResponse httpResponse, int tryCount, Set<String> attemptedRedirectUrls) Determines if the url should be redirected between each try.