| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Request |
build() |
Request.Builder |
setAccept(List<String> mimeTypes)
Sets the
Accept header. |
Request.Builder |
setAuthorization(Authorization authorization)
Sets the
Authorization header. |
Request.Builder |
setBody(BlobHttpContent blobHttpContent)
Sets the body and its corresponding
Content-Type header. |
Request.Builder |
setUserAgent(String userAgent)
Sets the
User-Agent header. |
public Request build()
public Request.Builder setAuthorization(@Nullable Authorization authorization)
Authorization header.public Request.Builder setAccept(List<String> mimeTypes)
Accept header.public Request.Builder setUserAgent(String userAgent)
User-Agent header.public Request.Builder setBody(@Nullable BlobHttpContent blobHttpContent)
Content-Type header.Copyright © 2018. All rights reserved.