public class PutRequestBuilder extends RequestBuilder
PUT requests.| Constructor and Description |
|---|
PutRequestBuilder(java.lang.String uri,
byte[] body)
Creates a
PUT request builder with a parsed URI. |
PutRequestBuilder(java.lang.String uri,
ByteString body)
Creates a
PUT request builder with a parsed URI
and the body specified as a ByteString. |
PutRequestBuilder(java.net.URI uri,
byte[] body)
Creates a
PUT request builder. |
PutRequestBuilder(java.net.URI uri,
ByteString body)
Creates a
PUT request builder
and the body specified as a ByteString. |
| Modifier and Type | Method and Description |
|---|---|
Request |
create()
Creates the immutable request after all headers, parameters and attributes are added.
|
addAttribute, addAttributes, addHeader, addHeaders, addHeaderspublic PutRequestBuilder(java.lang.String uri,
byte[] body)
throws InvalidURIException
PUT request builder with a parsed URI.uri - The URI string to be parsed.body - The request body.InvalidURIException - if URI is invalid.public PutRequestBuilder(java.net.URI uri,
byte[] body)
PUT request builder.uri - The URI.body - The request body.public PutRequestBuilder(java.lang.String uri,
ByteString body)
throws InvalidURIException
PUT request builder with a parsed URI
and the body specified as a ByteString.uri - The URI string to be parsed.body - The request body.InvalidURIException - if URI is invalid.public PutRequestBuilder(java.net.URI uri,
ByteString body)
PUT request builder
and the body specified as a ByteString.uri - The URI.body - The request body.public Request create()
RequestBuildercreate in class RequestBuilder