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 HttpRequest
public java.lang.String method()
method
in interface HttpRequest
public byte[] body()
HttpRequest
body
in interface HttpRequest
public <any> headers()
headers
in interface HttpRequest
public Credentials credentials()
credentials
in interface HttpRequest
public HttpConfig config()
HttpRequest
config
in interface HttpRequest