| Package | Description |
|---|---|
| com.google.cloud.tools.jib.http |
| Modifier and Type | Method and Description |
|---|---|
static Request.Builder |
Request.builder() |
Request.Builder |
Request.Builder.setAccept(List<String> mimeTypes)
Sets the
Accept header. |
Request.Builder |
Request.Builder.setAuthorization(Authorization authorization)
Sets the
Authorization header. |
Request.Builder |
Request.Builder.setBody(com.google.api.client.http.HttpContent httpContent)
Sets the body and its corresponding
Content-Type header. |
Request.Builder |
Request.Builder.setHttpTimeout(Integer httpTimeout)
Sets the HTTP connection and read timeout in milliseconds.
|
Request.Builder |
Request.Builder.setUserAgent(String userAgent)
Sets the
User-Agent header. |
Copyright © 2019. All rights reserved.