public class HttpRequestImpl extends java.lang.Object implements HttpRequest
HttpRequest.Builder| Constructor and Description |
|---|
HttpRequestImpl(HttpRequestImpl httpRequest) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
body()
The payload of the request, or null if no payload (e.g.
|
HttpConfig |
config()
Additional optional configuration to customize how the call is done.
|
Credentials |
credentials() |
<any> |
headers() |
java.lang.String |
method() |
java.net.URI |
uri() |
public HttpRequestImpl(HttpRequestImpl httpRequest)
public java.net.URI uri()
uri in interface HttpRequestpublic java.lang.String method()
method in interface HttpRequestpublic byte[] body()
HttpRequestbody in interface HttpRequestpublic <any> headers()
headers in interface HttpRequestpublic Credentials credentials()
credentials in interface HttpRequestpublic HttpConfig config()
HttpRequestconfig in interface HttpRequest