Uses of Class
com.google.cloud.storage.Cors.Builder
Packages that use Cors.Builder
-
Uses of Cors.Builder in com.google.cloud.storage
Methods in com.google.cloud.storage that return Cors.BuilderModifier and TypeMethodDescriptionstatic Cors.BuilderCors.newBuilder()Returns a CORS configuration 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.setMethods(Iterable<HttpMethod> methods) Sets the HTTP methods supported by this CORS configuration.Cors.Builder.setOrigins(Iterable<Cors.Origin> origins) Sets the origins for this CORS configuration.Cors.Builder.setResponseHeaders(Iterable<String> headers) Sets the response headers supported by this CORS configuration.Cors.toBuilder()Returns a builder for this CORS configuration.