public static final class ClientRequest.Builder extends PartialRequestBuilder<ClientRequest.Builder>
ClientRequest
instance.entity, metadata
Constructor and Description |
---|
ClientRequest.Builder() |
Modifier and Type | Method and Description |
---|---|
ClientRequest |
build(java.net.URI uri,
java.lang.String method)
Build the
ClientRequest instance. |
accept, accept, acceptLanguage, acceptLanguage, cookie, entity, entity, entity, header, type, type
public ClientRequest build(java.net.URI uri, java.lang.String method)
ClientRequest
instance.uri
- the URI of the request.method
- the HTTP method.Copyright © 2016 Oracle Corporation. All Rights Reserved.