| Package | Description |
|---|---|
| com.microsoft.rest.v2.http |
This package contains the HTTP abstractions between the AnnotationParser's RestProxy and whatever
HTTP client we choose to use.
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponseDecoder |
HttpRequest.responseDecoder()
Get the
HttpResponseDecoder which decodes messages sent in response to this HttpRequest. |
| Constructor and Description |
|---|
HttpRequest(String callerMethod,
HttpMethod httpMethod,
URL url,
HttpHeaders headers,
io.reactivex.Flowable<ByteBuffer> body,
HttpResponseDecoder responseDecoder)
Create a new HttpRequest object.
|
HttpRequest(String callerMethod,
HttpMethod httpMethod,
URL url,
HttpResponseDecoder responseDecoder)
Create a new HttpRequest object with the provided HTTP method (GET, POST, PUT, etc.) and the
provided URL.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/