public final class DataLakeCorsRule extends Object
| Constructor and Description |
|---|
DataLakeCorsRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedHeaders()
Get the allowedHeaders property: the request headers that the origin
domain may specify on the CORS request.
|
String |
getAllowedMethods()
Get the allowedMethods property: The methods (HTTP request verbs) that
the origin domain may use for a CORS request.
|
String |
getAllowedOrigins()
Get the allowedOrigins property: The origin domains that are permitted
to make a request against the storage service via CORS.
|
String |
getExposedHeaders()
Get the exposedHeaders property: The response headers that may be sent
in the response to the CORS request and exposed by the browser to the
request issuer.
|
int |
getMaxAgeInSeconds()
Get the maxAgeInSeconds property: The maximum amount time that a browser
should cache the preflight OPTIONS request.
|
DataLakeCorsRule |
setAllowedHeaders(String allowedHeaders)
Set the allowedHeaders property: the request headers that the origin
domain may specify on the CORS request.
|
DataLakeCorsRule |
setAllowedMethods(String allowedMethods)
Set the allowedMethods property: The methods (HTTP request verbs) that
the origin domain may use for a CORS request.
|
DataLakeCorsRule |
setAllowedOrigins(String allowedOrigins)
Set the allowedOrigins property: The origin domains that are permitted
to make a request against the storage service via CORS.
|
DataLakeCorsRule |
setExposedHeaders(String exposedHeaders)
Set the exposedHeaders property: The response headers that may be sent
in the response to the CORS request and exposed by the browser to the
request issuer.
|
DataLakeCorsRule |
setMaxAgeInSeconds(int maxAgeInSeconds)
Set the maxAgeInSeconds property: The maximum amount time that a browser
should cache the preflight OPTIONS request.
|
public String getAllowedOrigins()
public DataLakeCorsRule setAllowedOrigins(String allowedOrigins)
allowedOrigins - the allowedOrigins value to set.public String getAllowedMethods()
public DataLakeCorsRule setAllowedMethods(String allowedMethods)
allowedMethods - the allowedMethods value to set.public String getAllowedHeaders()
public DataLakeCorsRule setAllowedHeaders(String allowedHeaders)
allowedHeaders - the allowedHeaders value to set.public String getExposedHeaders()
public DataLakeCorsRule setExposedHeaders(String exposedHeaders)
exposedHeaders - the exposedHeaders value to set.public int getMaxAgeInSeconds()
public DataLakeCorsRule setMaxAgeInSeconds(int maxAgeInSeconds)
maxAgeInSeconds - the maxAgeInSeconds value to set.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.