|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<String,Object> com.google.api.client.util.GenericData com.google.api.client.json.GenericJson com.google.api.services.storage.model.Bucket.Cors
public static final class Bucket.Cors
Model definition for BucketCors.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
---|
GenericData.Flags |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
Bucket.Cors()
|
Method Summary | |
---|---|
Integer |
getMaxAgeSeconds()
The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. |
List<String> |
getMethod()
The list of HTTP methods on which to include CORS response headers, e.g. |
List<String> |
getOrigin()
The list of Origins eligible to receive CORS response headers. |
List<String> |
getResponseHeader()
The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains. |
Bucket.Cors |
setMaxAgeSeconds(Integer maxAgeSeconds)
The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. |
Bucket.Cors |
setMethod(List<String> method)
The list of HTTP methods on which to include CORS response headers, e.g. |
Bucket.Cors |
setOrigin(List<String> origin)
The list of Origins eligible to receive CORS response headers. |
Bucket.Cors |
setResponseHeader(List<String> responseHeader)
The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains. |
Methods inherited from class com.google.api.client.json.GenericJson |
---|
clone, getFactory, setFactory, toPrettyString, toString |
Methods inherited from class com.google.api.client.util.GenericData |
---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
Methods inherited from class java.util.AbstractMap |
---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Bucket.Cors()
Method Detail |
---|
public Integer getMaxAgeSeconds()
null
.
public Bucket.Cors setMaxAgeSeconds(Integer maxAgeSeconds)
null
.
public List<String> getMethod()
null
.
public Bucket.Cors setMethod(List<String> method)
null
.
public List<String> getOrigin()
null
.
public Bucket.Cors setOrigin(List<String> origin)
null
.
public List<String> getResponseHeader()
null
.
public Bucket.Cors setResponseHeader(List<String> responseHeader)
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |