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 TypeMethodDescriptionBearerTokenAuthenticationPolicy.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.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.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) UserAgentPolicy.process(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Updates the "User-Agent" header with the value supplied in the policy.BearerTokenAuthenticationPolicy.setAuthorizationHeader(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.