Uses of Class
com.azure.core.http.HttpResponse
Package
Description
Package containing the data models for AnomalyDetectorClient.
Package containing classes for AzureCognitiveServiceMetricsAdvisorRestAPIOpenAPIV2.
Package containing the data models for AccessControlClient.
Package containing the data models for ArtifactsClient.
Package containing classes for AzureCommunicationCallingServerService.
Package containing classes for AzureCommunicationChatService.
Package containing classes for CommunicationIdentityClient.
Package containing classes for PhoneNumberAdminClient.
Package containing core exception classes.
Package containing the classes for sending HTTP requests and receiving HTTP responses for a low level client.
Package containing HTTP abstractions between the AnnotationParser, RestProxy, and HTTP client.
Package containing HttpPipelinePolicy interface and its implementations.
Package containing REST-related APIs.
Package containing the error types for Azure ARM client.
Package containing the implementations of HttpPipelinePolicy interface.
Package containing common test classes for Azure client libraries.
An OpenTelemetry implementation of the tracing APIs required by azure-core to enable users to effectively trace their
calls and have this information submitted to an OpenTelemetry backend.
Package containing the classes for Tables Clients.
Package containing the implementations and inner classes for AzureTable.
Package containing classes managing resources in Azure Service Bus.
Package containing classes for creating clients to perform operations on the Azure Web Pub Sub Service.
Package containing the OpenTelemetry Exporter for Azure Monitor.
Package containing the data models for QuantumClient.
Package containing classes used by
KeyVaultAccessControlAsyncClient
and
KeyVaultAccessControlClient
to perform access control operations
on Azure Key Vault resources, as well as classes used by
KeyVaultBackupAsyncClient
and
KeyVaultBackupClient
to perform backup and restore operations on
on Azure Key Vault keys.Package containing classes for AzureBlobStorage.
Package containing the classes for performing client-side encryption of blob contents.
Package containing policies used by Azure Storage services.
Package containing classes for AzureDataLakeStorageRestAPI.
Package containing classes for AzureFileStorage.
Package containing classes for AzureQueueStorage.
-
Uses of HttpResponse in com.azure.ai.anomalydetector.models
ModifierConstructorDescriptionAnomalyDetectorErrorException
(String message, HttpResponse response) Initializes a new instance of the AnomalyDetectorErrorException class.AnomalyDetectorErrorException
(String message, HttpResponse response, AnomalyDetectorError value) Initializes a new instance of the AnomalyDetectorErrorException class.ErrorResponseException
(String message, HttpResponse response) Initializes a new instance of the ErrorResponseException class.ErrorResponseException
(String message, HttpResponse response, ErrorResponse value) Initializes a new instance of the ErrorResponseException class. -
Uses of HttpResponse in com.azure.ai.metricsadvisor.models
ModifierConstructorDescriptionMetricsAdvisorResponseException
(String message, HttpResponse response) Initializes a new instance of the MetricsAdvisorResponseException class.MetricsAdvisorResponseException
(String message, HttpResponse response, MetricsAdvisorError value) Initializes a new instance of the MetricsAdvisorResponseException class. -
Uses of HttpResponse in com.azure.analytics.synapse.accesscontrol.models
ModifierConstructorDescriptionErrorContractException
(String message, HttpResponse response) Initializes a new instance of the ErrorContractException class.ErrorContractException
(String message, HttpResponse response, ErrorContract value) Initializes a new instance of the ErrorContractException class. -
Uses of HttpResponse in com.azure.analytics.synapse.artifacts.models
ModifierConstructorDescriptionCloudErrorException
(String message, HttpResponse response) Initializes a new instance of the CloudErrorException class.CloudErrorException
(String message, HttpResponse response, CloudError value) Initializes a new instance of the CloudErrorException class.ErrorContractException
(String message, HttpResponse response) Initializes a new instance of the ErrorContractException class.ErrorContractException
(String message, HttpResponse response, ErrorContract value) Initializes a new instance of the ErrorContractException class. -
Uses of HttpResponse in com.azure.communication.callingserver.models
ModifierConstructorDescriptionCallingServerErrorException
(String message, HttpResponse response) Initializes a new instance of the CallingServerResponseException class.CallingServerErrorException
(String message, HttpResponse response, CallingServerError value) Initializes a new instance of the CallingServerErrorException class. -
Uses of HttpResponse in com.azure.communication.chat.models
ModifierConstructorDescriptionChatErrorResponseException
(String message, HttpResponse response) Initializes a new instance of the ChatErrorResponseException class.ChatErrorResponseException
(String message, HttpResponse response, ChatError value) Initializes a new instance of the ChatErrorResponseException class. -
Uses of HttpResponse in com.azure.communication.identity.models
ModifierConstructorDescriptionIdentityErrorResponseException
(String message, HttpResponse response, IdentityError value) Initializes a new instance of the IdentityErrorResponseException class. -
Uses of HttpResponse in com.azure.communication.phonenumbers.models
ModifierConstructorDescriptionPhoneNumberErrorResponseException
(String message, HttpResponse response, PhoneNumberError value) Initializes a new instance of the PhoneNumberErrorResponseException class. -
Uses of HttpResponse in com.azure.core.exception
ModifierConstructorDescriptionClientAuthenticationException
(String message, HttpResponse response) Initializes a new instance of theClientAuthenticationException
class.ClientAuthenticationException
(String message, HttpResponse response, Object value) Initializes a new instance of theClientAuthenticationException
class.ClientAuthenticationException
(String message, HttpResponse response, Throwable cause) Initializes a new instance of theClientAuthenticationException
class.DecodeException
(String message, HttpResponse response) Initializes a new instance of the DecodeException class.DecodeException
(String message, HttpResponse response, Object value) Initializes a new instance of the DecodeException class.DecodeException
(String message, HttpResponse response, Throwable cause) Initializes a new instance of the DecodeException class.HttpResponseException
(HttpResponse response) Initializes a new instance of the HttpResponseException class.HttpResponseException
(HttpResponse response, Throwable cause) Initializes a new instance of the HttpResponseException class.HttpResponseException
(String message, HttpResponse response) Initializes a new instance of the HttpResponseException class.HttpResponseException
(String message, HttpResponse response, Object value) Initializes a new instance of the HttpResponseException class.HttpResponseException
(String message, HttpResponse response, Throwable cause) Initializes a new instance of the HttpResponseException class.HttpResponseException
(String message, HttpResponse response, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Initializes a new instance of the HttpResponseException class.ResourceExistsException
(String message, HttpResponse response) Initializes a new instance of the ResourceExistsException class.ResourceExistsException
(String message, HttpResponse response, Object value) Initializes a new instance of the ResourceExistsException class.ResourceExistsException
(String message, HttpResponse response, Throwable cause) Initializes a new instance of the ResourceExistsException class.ResourceModifiedException
(String message, HttpResponse response) Initializes a new instance of the ResourceModifiedException class.ResourceModifiedException
(String message, HttpResponse response, Object value) Initializes a new instance of the ResourceModifiedException class.ResourceModifiedException
(String message, HttpResponse response, Throwable cause) Initializes a new instance of the ResourceModifiedException class.ResourceNotFoundException
(String message, HttpResponse response) Initializes a new instance of the ResourceNotFoundException class.ResourceNotFoundException
(String message, HttpResponse response, Object value) Initializes a new instance of the ResourceNotFoundException class.ResourceNotFoundException
(String message, HttpResponse response, Throwable cause) Initializes a new instance of the ResourceNotFoundException class.TooManyRedirectsException
(String message, HttpResponse response) Initializes a new instance of the TooManyRedirectsException class.TooManyRedirectsException
(String message, HttpResponse response, Object value) Initializes a new instance of the TooManyRedirectsException class.TooManyRedirectsException
(String message, HttpResponse response, Throwable cause) Initializes a new instance of the TooManyRedirectsException class. -
Uses of HttpResponse in com.azure.core.experimental.http
ModifierConstructorDescriptionDynamicResponse
(HttpResponse response, BinaryData body) Creates an instance of the DynamicResponse. -
Uses of HttpResponse in com.azure.core.http
Modifier and TypeMethodDescriptionHttpResponse.buffer()
Gets a newresponse
object wrapping this response with its content buffered into memory.HttpPipelineNextSyncPolicy.processSync()
Invokes the nextHttpPipelinePolicy
.default HttpResponse
HttpClient.sendSync
(HttpRequest request, Context context) Sends the provided request synchronously with contextual information.HttpPipeline.sendSync
(HttpRequest request, Context data) Wraps the request in a context with additional metadata and sends it through the pipeline.Modifier and TypeMethodDescriptionHttpPipelineNextPolicy.process()
Invokes the nextHttpPipelinePolicy
.HttpClient.send
(HttpRequest request) Send the provided request asynchronously.default Mono<HttpResponse>
HttpClient.send
(HttpRequest request, Context context) Sends the provided request asynchronously with contextual information.HttpPipeline.send
(HttpPipelineCallContext context) Sends the context (containing an HTTP request) through pipeline.HttpPipeline.send
(HttpRequest request) Wraps therequest
in a context and sends it through pipeline.HttpPipeline.send
(HttpRequest request, Context data) Wraps the request in a context with additional metadata and sends it through the pipeline. -
Uses of HttpResponse in com.azure.core.http.policy
Modifier and TypeMethodDescriptionprotected HttpResponse
HttpPipelineSyncPolicy.afterReceivedResponse
(HttpPipelineCallContext context, HttpResponse response) Method is invoked after the response is received.HttpResponseLoggingContext.getHttpResponse()
Gets the HTTP response being received.default HttpResponse
HttpResponseLogger.logResponseSync
(ClientLogger logger, HttpResponseLoggingContext loggingOptions) Logs the HTTP response.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.Modifier and TypeMethodDescriptionHttpResponseLogger.logResponse
(ClientLogger logger, HttpResponseLoggingContext loggingOptions) Logs the HTTP response.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.Modifier and TypeMethodDescriptionprotected HttpResponse
HttpPipelineSyncPolicy.afterReceivedResponse
(HttpPipelineCallContext context, HttpResponse response) Method is invoked after the response is received.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.DefaultRedirectStrategy.createRedirectRequest
(HttpResponse httpResponse) RedirectStrategy.createRedirectRequest
(HttpResponse httpResponse) Creates anrequest
for the redirect attempt.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.default boolean
RetryStrategy.shouldRetry
(HttpResponse httpResponse) This method is consulted to determine if a retry attempt should be made for the givenHttpResponse
if the retry attempts are less thanRetryStrategy.getMaxRetries()
. -
Uses of HttpResponse in com.azure.core.http.rest
Modifier and TypeMethodDescriptionRestProxy.send
(HttpRequest request, Context contextData) Send the provided request asynchronously, applying any request policies provided to the HttpClient instance. -
Uses of HttpResponse in com.azure.core.management.exception
ModifierConstructorDescriptionManagementException
(String message, HttpResponse response) Initializes a new instance of theManagementException
class.ManagementException
(String message, HttpResponse response, ManagementError value) Initializes a new instance of theManagementException
class. -
Uses of HttpResponse in com.azure.core.management.http.policy
Modifier and TypeMethodDescriptionArmChallengeAuthenticationPolicy.authorizeRequestOnChallenge
(HttpPipelineCallContext context, HttpResponse response) boolean
ArmChallengeAuthenticationPolicy.authorizeRequestOnChallengeSync
(HttpPipelineCallContext context, HttpResponse response) -
Uses of HttpResponse in com.azure.core.test
ModifierConstructorDescriptionMyAzureException
(String message, HttpResponse response, com.azure.core.test.implementation.entities.HttpBinJSON body) Creates an exception with themessage
,response
, andbody
.MyRestException
(String message, HttpResponse response, com.azure.core.test.implementation.entities.HttpBinJSON body) Creates a service request exception. -
Uses of HttpResponse in com.azure.core.tracing.opentelemetry
Modifier and TypeMethodDescriptionOpenTelemetryHttpPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) -
Uses of HttpResponse in com.azure.data.tables
Modifier and TypeMethodDescriptionTableAzureNamedKeyCredentialPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Authorizes aHttpRequest
with the SharedKey credential.TableScrubEtagPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Wraps any potential error responses from the service and applies post processing of the response's eTag header to standardize the value. -
Uses of HttpResponse in com.azure.data.tables.models
ModifierConstructorDescriptionTableServiceException
(String message, HttpResponse response) Initializes a new instance of theTableServiceException
class.TableServiceException
(String message, HttpResponse response, TableServiceError value) Initializes a new instance of theTableServiceException
class.TableTransactionFailedException
(String message, HttpResponse response, TableServiceError value, Integer failedTransactionActionIndex) Initializes a new instance of theTableTransactionFailedException
class. -
Uses of HttpResponse in com.azure.messaging.servicebus.administration
Modifier and TypeMethodDescriptionServiceBusSupplementaryAuthHeaderPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Add the additional authentication token needed for various types of forwarding options. -
Uses of HttpResponse in com.azure.messaging.webpubsub
Modifier and TypeMethodDescriptionWebPubSubAuthenticationPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Processes provided request context and invokes the next policy. -
Uses of HttpResponse in com.azure.monitor.opentelemetry.exporter
Modifier and TypeMethodDescriptionAzureMonitorRedirectPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) -
Uses of HttpResponse in com.azure.quantum.jobs.models
ModifierConstructorDescriptionRestErrorException
(String message, HttpResponse response) Initializes a new instance of the RestErrorException class.RestErrorException
(String message, HttpResponse response, RestError value) Initializes a new instance of the RestErrorException class. -
Uses of HttpResponse in com.azure.security.keyvault.administration.models
ModifierConstructorDescriptionKeyVaultAdministrationException
(String message, HttpResponse response) Creates a new instance of theKeyVaultAdministrationException
class.KeyVaultAdministrationException
(String message, HttpResponse response, KeyVaultAdministrationError value) Creates a new instance ofKeyVaultAdministrationException
. -
Uses of HttpResponse in com.azure.storage.blob.models
ModifierConstructorDescriptionBlobStorageException
(String message, HttpResponse response, Object value) Constructs aBlobStorageException
. -
Uses of HttpResponse in com.azure.storage.blob.specialized.cryptography
Modifier and TypeMethodDescriptionBlobDecryptionPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) -
Uses of HttpResponse in com.azure.storage.common.policy
Modifier and TypeMethodDescriptionMetadataValidationPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) RequestRetryPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) ResponseValidationPolicyBuilder.ResponseValidationPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) ScrubEtagPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) Wraps any potential error responses from the service and applies post-processing of the response's eTag header to standardize the value.StorageSharedKeyCredentialPolicy.process
(HttpPipelineCallContext context, HttpPipelineNextPolicy next) -
Uses of HttpResponse in com.azure.storage.file.datalake.models
ModifierConstructorDescriptionDataLakeStorageException
(String message, HttpResponse response, Object value) Constructs aDataLakeStorageException
. -
Uses of HttpResponse in com.azure.storage.queue.models
ModifierConstructorDescriptionQueueStorageException
(String message, HttpResponse response, Object value) Constructs aStorageException
.