| Package | Description |
|---|---|
| com.google.cloud.storage |
A client to Google Cloud Storage.
|
| Modifier and Type | Method and Description |
|---|---|
static Cors.Builder |
Cors.builder()
Returns a CORS configuration builder.
|
Cors.Builder |
Cors.Builder.maxAgeSeconds(Integer maxAgeSeconds)
Sets the max time in seconds in which a client can issue requests before sending a new
preflight request.
|
Cors.Builder |
Cors.Builder.methods(Iterable<HttpMethod> methods)
Sets the HTTP methods supported by this CORS configuration.
|
Cors.Builder |
Cors.Builder.origins(Iterable<Cors.Origin> origins)
Sets the origins for this CORS configuration.
|
Cors.Builder |
Cors.Builder.responseHeaders(Iterable<String> headers)
Sets the response headers supported by this CORS configuration.
|
Cors.Builder |
Cors.toBuilder()
Returns a builder for this CORS configuration.
|
Copyright © 2016 Google. All rights reserved.