| Package | Description |
|---|---|
| com.azure.core.exception |
Package containing core exception classes.
|
| 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 |
|---|---|
HttpResponse |
HttpResponseException.getResponse() |
| Constructor and Description |
|---|
ClientAuthenticationException(String message,
HttpResponse response)
Initializes a new instance of the
ClientAuthenticationException class. |
ClientAuthenticationException(String message,
HttpResponse response,
Object value)
Initializes a new instance of the
ClientAuthenticationException class. |
ClientAuthenticationException(String message,
HttpResponse response,
Throwable cause)
Initializes a new instance of the
ClientAuthenticationException 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.
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
HttpResponse.buffer()
Get a new Response object wrapping this response with it's content
buffered into memory.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
RetryStrategy.shouldRetry(HttpResponse httpResponse)
This method is consulted to determine if a retry attempt should be made for the given
HttpResponse if the
retry attempts are less than RetryStrategy.getMaxRetries(). |
Copyright © 2021 Microsoft Corporation. All rights reserved.