Uses of Class
com.azure.core.http.HttpResponse
-
Packages that use HttpResponse 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.com.azure.core.http.rest Package containing REST-related APIs. -
-
Uses of HttpResponse in com.azure.core.exception
Methods in com.azure.core.exception that return HttpResponse Modifier and Type Method Description HttpResponse
HttpResponseException. getResponse()
Constructors in com.azure.core.exception with parameters of type HttpResponse Constructor Description ClientAuthenticationException(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.http
Methods in com.azure.core.http that return HttpResponse Modifier and Type Method Description HttpResponse
HttpResponse. buffer()
Gets a newresponse
object wrapping this response with its content buffered into memory.Methods in com.azure.core.http that return types with arguments of type HttpResponse Modifier and Type Method Description Mono<HttpResponse>
HttpPipelineNextPolicy. process()
Invokes the nextHttpPipelinePolicy
.Mono<HttpResponse>
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.Mono<HttpResponse>
HttpPipeline. send(HttpPipelineCallContext context)
Sends the context (containing an HTTP request) through pipeline.Mono<HttpResponse>
HttpPipeline. send(HttpRequest request)
Wraps therequest
in a context and sends it through pipeline.Mono<HttpResponse>
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
Methods in com.azure.core.http.policy that return HttpResponse Modifier and Type Method Description HttpResponse
HttpResponseLoggingContext. getHttpResponse()
Gets the HTTP response being received.Methods in com.azure.core.http.policy with parameters of type HttpResponse Modifier and Type Method 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 appropriateTokenRequestContext
to be used for re-authentication.HttpRequest
DefaultRedirectStrategy. createRedirectRequest(HttpResponse httpResponse)
HttpRequest
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
Methods in com.azure.core.http.rest that return types with arguments of type HttpResponse Modifier and Type Method Description Mono<HttpResponse>
RestProxy. send(HttpRequest request, Context contextData)
Send the provided request asynchronously, applying any request policies provided to the HttpClient instance.
-