public final class TableServiceCorsRule extends Object
| Constructor and Description |
|---|
TableServiceCorsRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllowedHeaders()
Get 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 origin domains that are permitted to make a request against the service via CORS.
|
String |
getExposedHeaders()
Get 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 maximum amount time that a browser should cache the preflight OPTIONS request.
|
TableServiceCorsRule |
setAllowedHeaders(String allowedHeaders)
Set the request headers that the origin domain may specify on the CORS request.
|
TableServiceCorsRule |
setAllowedMethods(String allowedMethods)
Set the allowedMethods property: The methods (HTTP request verbs) that the origin domain may use for a CORS
request.
|
TableServiceCorsRule |
setAllowedOrigins(String allowedOrigins)
Set the allowedOrigins property: The origin domains that are permitted to make a request against the service via
CORS.
|
TableServiceCorsRule |
setExposedHeaders(String exposedHeaders)
Set the response headers that may be sent in the response to the CORS request and exposed by the browser to
the request issuer.
|
TableServiceCorsRule |
setMaxAgeInSeconds(int maxAgeInSeconds)
Set the maximum amount time that a browser should cache the preflight OPTIONS request.
|
public String getAllowedOrigins()
allowedOrigins.public TableServiceCorsRule setAllowedOrigins(String allowedOrigins)
allowedOrigins - The allowedOrigins to set.TableServiceCorsRule object.public String getAllowedMethods()
allowedMethods.public TableServiceCorsRule setAllowedMethods(String allowedMethods)
allowedMethods - The allowedMethods to set.TableServiceCorsRule object.public String getAllowedHeaders()
allowedHeaders.public TableServiceCorsRule setAllowedHeaders(String allowedHeaders)
allowedHeaders - The allowedHeaders to set.TableServiceCorsRule object.public String getExposedHeaders()
exposedHeaders value.public TableServiceCorsRule setExposedHeaders(String exposedHeaders)
exposedHeaders - The exposedHeaders to set.TableServiceCorsRule object.public int getMaxAgeInSeconds()
maxAgeInSeconds.public TableServiceCorsRule setMaxAgeInSeconds(int maxAgeInSeconds)
maxAgeInSeconds - The maxAgeInSeconds to set.TableServiceCorsRule object.Copyright © 2021 Microsoft Corporation. All rights reserved.