Uses of Class
com.azure.core.http.HttpRequest
-
Packages that use HttpRequest 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 HttpRequest in com.azure.core.exception
Methods in com.azure.core.exception that return HttpRequest Modifier and Type Method Description HttpRequestHttpRequestException. getRequest()Constructors in com.azure.core.exception with parameters of type HttpRequest Constructor Description HttpRequestException(HttpRequest request)Initializes a new instance of the HttpRequestException class.HttpRequestException(HttpRequest request, Throwable cause)Initializes a new instance of the HttpRequestException class.HttpRequestException(String message, HttpRequest request)Initializes a new instance of the HttpRequestException class.HttpRequestException(String message, HttpRequest request, Throwable cause)Initializes a new instance of the HttpRequestException class.HttpRequestException(String message, HttpRequest request, Throwable cause, boolean enableSuppression, boolean writableStackTrace)Initializes a new instance of the HttpRequestException class. -
Uses of HttpRequest in com.azure.core.http
Methods in com.azure.core.http that return HttpRequest Modifier and Type Method Description HttpRequestHttpRequest. copy()Creates a copy of the request.HttpRequestHttpPipelineCallContext. getHttpRequest()Gets the HTTP request.HttpRequestHttpResponse. getRequest()Gets therequestwhich resulted in this response.HttpRequestHttpRequest. setBody(byte[] content)Set the request content.HttpRequestHttpRequest. setBody(String content)Set the request content.HttpRequestHttpRequest. setBody(Flux<ByteBuffer> content)Set request content.HttpRequestHttpRequest. setHeader(String name, String value)Set a request header, replacing any existing value.HttpRequestHttpRequest. setHeaders(HttpHeaders headers)Set the request headers.HttpRequestHttpRequest. setHttpMethod(HttpMethod httpMethod)Set the request method.HttpRequestHttpRequest. setUrl(String url)Set the target address to send the request to.HttpRequestHttpRequest. setUrl(URL url)Set the target address to send the request to.Methods in com.azure.core.http with parameters of type HttpRequest Modifier and Type Method Description 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(HttpRequest request)Wraps therequestin 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.HttpPipelineCallContextHttpPipelineCallContext. setHttpRequest(HttpRequest request)Sets the HTTP request object in the context.Constructors in com.azure.core.http with parameters of type HttpRequest Constructor Description HttpResponse(HttpRequest request)Creates an instance ofHttpResponse. -
Uses of HttpRequest in com.azure.core.http.policy
Methods in com.azure.core.http.policy that return HttpRequest Modifier and Type Method Description HttpRequestDefaultRedirectStrategy. createRedirectRequest(HttpResponse httpResponse)HttpRequestRedirectStrategy. createRedirectRequest(HttpResponse httpResponse)Creates anrequestfor the redirect attempt.HttpRequestHttpRequestLoggingContext. getHttpRequest()Gets the HTTP request being sent. -
Uses of HttpRequest in com.azure.core.http.rest
Methods in com.azure.core.http.rest that return HttpRequest Modifier and Type Method Description HttpRequestPagedResponseBase. getRequest()HttpRequestResponse. getRequest()Gets the HTTP request which resulted in this response.HttpRequestResponseBase. getRequest()Gets The request which resulted in thisResponseBase.HttpRequestSimpleResponse. getRequest()Gets the request which resulted in thisSimpleResponse.Methods in com.azure.core.http.rest with parameters of type HttpRequest 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.Method parameters in com.azure.core.http.rest with type arguments of type HttpRequest Modifier and Type Method Description RequestOptionsRequestOptions. addRequestCallback(Consumer<HttpRequest> requestCallback)Adds a custom request callback to modify the HTTP request before it's sent by the HttpClient.Constructors in com.azure.core.http.rest with parameters of type HttpRequest Constructor Description PagedResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, Page<T> page, H deserializedHeaders)Creates a new instance of the PagedResponseBase type.PagedResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, List<T> items, String continuationToken, H deserializedHeaders)Creates a new instance of the PagedResponseBase type.ResponseBase(HttpRequest request, int statusCode, HttpHeaders headers, T value, H deserializedHeaders)Creates aResponseBase.SimpleResponse(HttpRequest request, int statusCode, HttpHeaders headers, T value)Creates aSimpleResponse.StreamResponse(HttpRequest request, int statusCode, HttpHeaders headers, Flux<ByteBuffer> value)Creates aStreamResponse.
-