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 |
---|---|
HttpResponse |
HttpResponseLoggingContext.getHttpResponse()
Gets the HTTP response being received.
|
Modifier and Type | Method and Description |
---|---|
Mono<Boolean> |
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 appropriate
TokenRequestContext to
be used for re-authentication. |
HttpRequest |
RedirectStrategy.createRedirectRequest(HttpResponse httpResponse)
Creates an
request for the redirect attempt. |
HttpRequest |
DefaultRedirectStrategy.createRedirectRequest(HttpResponse httpResponse) |
boolean |
RedirectStrategy.shouldAttemptRedirect(HttpPipelineCallContext context,
HttpResponse httpResponse,
int tryCount,
Set<String> attemptedRedirectUrls)
Determines if the url should be redirected between each try.
|
boolean |
DefaultRedirectStrategy.shouldAttemptRedirect(HttpPipelineCallContext context,
HttpResponse httpResponse,
int tryCount,
Set<String> attemptedRedirectUrls) |
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.