Uses of Class
com.azure.core.http.HttpPipelineCallContext
Packages that use HttpPipelineCallContext
Package
Description
This package provides HTTP abstractions for Azure SDK client libraries.
This package contains the 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 HttpResponseHttpPipelineSyncPolicy.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 appropriateTokenRequestContextto be used for re-authentication.booleanBearerTokenAuthenticationPolicy.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 appropriateTokenRequestContextto be used for re-authentication.voidBearerTokenAuthenticationPolicy.authorizeRequestSync(HttpPipelineCallContext context) Synchronously executed before sending the initial request and authenticates the request.protected voidHttpPipelineSyncPolicy.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) 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.KeyCredentialPolicy.process(HttpPipelineCallContext context, HttpPipelineNextPolicy next) 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) 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 HttpResponseHttpPipelinePolicy.processSync(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) Processes provided request context and invokes the next policy synchronously.final HttpResponseHttpPipelineSyncPolicy.processSync(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) Processes provided request context and invokes the next policy synchronously.KeyCredentialPolicy.processSync(HttpPipelineCallContext context, HttpPipelineNextSyncPolicy next) 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 specifiedtokenRequestContextvoidBearerTokenAuthenticationPolicy.setAuthorizationHeaderSync(HttpPipelineCallContext context, TokenRequestContext tokenRequestContext) Authorizes the request with the bearer token acquired using the specifiedtokenRequestContextbooleanDefaultRedirectStrategy.shouldAttemptRedirect(HttpPipelineCallContext context, HttpResponse httpResponse, int tryCount, Set<String> attemptedRedirectUrls) booleanRedirectStrategy.shouldAttemptRedirect(HttpPipelineCallContext context, HttpResponse httpResponse, int tryCount, Set<String> attemptedRedirectUrls) Determines if the url should be redirected between each try.