Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Cors.Builder |
Cors.newBuilder()
Returns a CORS configuration builder.
|
Cors.Builder |
Cors.Builder.setMaxAgeSeconds(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.setMethods(Iterable<HttpMethod> methods)
Sets the HTTP methods supported by this CORS configuration.
|
Cors.Builder |
Cors.Builder.setOrigins(Iterable<Cors.Origin> origins)
Sets the origins for this CORS configuration.
|
Cors.Builder |
Cors.Builder.setResponseHeaders(Iterable<String> headers)
Sets the response headers supported by this CORS configuration.
|
Cors.Builder |
Cors.toBuilder()
Returns a builder for this CORS configuration.
|
Copyright © 2019 Google LLC. All rights reserved.