azure-docs-sdk-java/docs-ref-autogen/com.azure.data.tables.model...

158 строки
13 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.data.tables.models.TableServiceCorsRule"
fullName: "com.azure.data.tables.models.TableServiceCorsRule"
name: "TableServiceCorsRule"
nameWithType: "TableServiceCorsRule"
summary: "CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **TableServiceCorsRule**"
constructors:
- uid: "com.azure.data.tables.models.TableServiceCorsRule.TableServiceCorsRule()"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.TableServiceCorsRule()"
name: "TableServiceCorsRule()"
nameWithType: "TableServiceCorsRule.TableServiceCorsRule()"
summary: "Creates an instance of <xref uid=\"com.azure.data.tables.models.TableServiceCorsRule\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceCorsRule\"></xref>."
syntax: "public TableServiceCorsRule()"
desc: "Creates an instance of <xref uid=\"com.azure.data.tables.models.TableServiceCorsRule\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceCorsRule\"></xref>."
methods:
- uid: "com.azure.data.tables.models.TableServiceCorsRule.getAllowedHeaders()"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.getAllowedHeaders()"
name: "getAllowedHeaders()"
nameWithType: "TableServiceCorsRule.getAllowedHeaders()"
summary: "Get the request headers that the origin domain may specify on the CORS request."
syntax: "public String getAllowedHeaders()"
desc: "Get the request headers that the origin domain may specify on the CORS request."
returns:
description: "The <code>allowedHeaders</code>."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.data.tables.models.TableServiceCorsRule.getAllowedMethods()"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.getAllowedMethods()"
name: "getAllowedMethods()"
nameWithType: "TableServiceCorsRule.getAllowedMethods()"
summary: "Get the allowed<wbr>Methods property: The methods (HTTP request verbs) that the origin domain may use for a CORS request."
syntax: "public String getAllowedMethods()"
desc: "Get the allowedMethods property: The methods (HTTP request verbs) that the origin domain may use for a CORS request. (comma separated)."
returns:
description: "The <code>allowedMethods</code>."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.data.tables.models.TableServiceCorsRule.getAllowedOrigins()"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.getAllowedOrigins()"
name: "getAllowedOrigins()"
nameWithType: "TableServiceCorsRule.getAllowedOrigins()"
summary: "Get the origin domains that are permitted to make a request against the service via CORS."
syntax: "public String getAllowedOrigins()"
desc: "Get the origin domains that are permitted to make a request against the service via CORS. The origin domain is the domain from which the request originates. Note that the origin must be an exact case-sensitive match with the origin that the user age sends to the service. You can also use the wildcard character '\\*' to allow all origin domains to make requests via CORS."
returns:
description: "The <code>allowedOrigins</code>."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.data.tables.models.TableServiceCorsRule.getExposedHeaders()"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.getExposedHeaders()"
name: "getExposedHeaders()"
nameWithType: "TableServiceCorsRule.getExposedHeaders()"
summary: "Get the response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer."
syntax: "public String getExposedHeaders()"
desc: "Get the response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer."
returns:
description: "The <code>exposedHeaders</code> value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.data.tables.models.TableServiceCorsRule.getMaxAgeInSeconds()"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.getMaxAgeInSeconds()"
name: "getMaxAgeInSeconds()"
nameWithType: "TableServiceCorsRule.getMaxAgeInSeconds()"
summary: "Get the maximum amount time that a browser should cache the preflight OPTIONS request."
syntax: "public int getMaxAgeInSeconds()"
desc: "Get the maximum amount time that a browser should cache the preflight OPTIONS request."
returns:
description: "The <code>maxAgeInSeconds</code>."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.data.tables.models.TableServiceCorsRule.setAllowedHeaders(java.lang.String)"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.setAllowedHeaders(String allowedHeaders)"
name: "setAllowedHeaders(String allowedHeaders)"
nameWithType: "TableServiceCorsRule.setAllowedHeaders(String allowedHeaders)"
summary: "Set the request headers that the origin domain may specify on the CORS request."
parameters:
- description: "The <code>allowedHeaders</code> to set."
name: "allowedHeaders"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TableServiceCorsRule setAllowedHeaders(String allowedHeaders)"
desc: "Set the request headers that the origin domain may specify on the CORS request."
returns:
description: "The updated <xref uid=\"com.azure.data.tables.models.TableServiceCorsRule\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceCorsRule\"></xref> object."
type: "<xref href=\"com.azure.data.tables.models.TableServiceCorsRule?alt=com.azure.data.tables.models.TableServiceCorsRule&text=TableServiceCorsRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.data.tables.models.TableServiceCorsRule.setAllowedMethods(java.lang.String)"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.setAllowedMethods(String allowedMethods)"
name: "setAllowedMethods(String allowedMethods)"
nameWithType: "TableServiceCorsRule.setAllowedMethods(String allowedMethods)"
summary: "Set the allowed<wbr>Methods property: The methods (HTTP request verbs) that the origin domain may use for a CORS request."
parameters:
- description: "The <code>allowedMethods</code> to set."
name: "allowedMethods"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TableServiceCorsRule setAllowedMethods(String allowedMethods)"
desc: "Set the allowedMethods property: The methods (HTTP request verbs) that the origin domain may use for a CORS request. (comma separated)."
returns:
description: "The updated <xref uid=\"com.azure.data.tables.models.TableServiceCorsRule\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceCorsRule\"></xref> object."
type: "<xref href=\"com.azure.data.tables.models.TableServiceCorsRule?alt=com.azure.data.tables.models.TableServiceCorsRule&text=TableServiceCorsRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.data.tables.models.TableServiceCorsRule.setAllowedOrigins(java.lang.String)"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.setAllowedOrigins(String allowedOrigins)"
name: "setAllowedOrigins(String allowedOrigins)"
nameWithType: "TableServiceCorsRule.setAllowedOrigins(String allowedOrigins)"
summary: "Set the allowed<wbr>Origins property: The origin domains that are permitted to make a request against the service via CORS."
parameters:
- description: "The <code>allowedOrigins</code> to set."
name: "allowedOrigins"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TableServiceCorsRule setAllowedOrigins(String allowedOrigins)"
desc: "Set the allowedOrigins property: The origin domains that are permitted to make a request against the service via CORS. The origin domain is the domain from which the request originates. Note that the origin must be an exact case-sensitive match with the origin that the user age sends to the service. You can also use the wildcard character '\\*' to allow all origin domains to make requests via CORS."
returns:
description: "The updated <xref uid=\"com.azure.data.tables.models.TableServiceCorsRule\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceCorsRule\"></xref> object."
type: "<xref href=\"com.azure.data.tables.models.TableServiceCorsRule?alt=com.azure.data.tables.models.TableServiceCorsRule&text=TableServiceCorsRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.data.tables.models.TableServiceCorsRule.setExposedHeaders(java.lang.String)"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.setExposedHeaders(String exposedHeaders)"
name: "setExposedHeaders(String exposedHeaders)"
nameWithType: "TableServiceCorsRule.setExposedHeaders(String exposedHeaders)"
summary: "Set the response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer."
parameters:
- description: "The <code>exposedHeaders</code> to set."
name: "exposedHeaders"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TableServiceCorsRule setExposedHeaders(String exposedHeaders)"
desc: "Set the response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer."
returns:
description: "The updated <xref uid=\"com.azure.data.tables.models.TableServiceCorsRule\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceCorsRule\"></xref> object."
type: "<xref href=\"com.azure.data.tables.models.TableServiceCorsRule?alt=com.azure.data.tables.models.TableServiceCorsRule&text=TableServiceCorsRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.data.tables.models.TableServiceCorsRule.setMaxAgeInSeconds(int)"
fullName: "com.azure.data.tables.models.TableServiceCorsRule.setMaxAgeInSeconds(int maxAgeInSeconds)"
name: "setMaxAgeInSeconds(int maxAgeInSeconds)"
nameWithType: "TableServiceCorsRule.setMaxAgeInSeconds(int maxAgeInSeconds)"
summary: "Set the maximum amount time that a browser should cache the preflight OPTIONS request."
parameters:
- description: "The <code>maxAgeInSeconds</code> to set."
name: "maxAgeInSeconds"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TableServiceCorsRule setMaxAgeInSeconds(int maxAgeInSeconds)"
desc: "Set the maximum amount time that a browser should cache the preflight OPTIONS request."
returns:
description: "The updated <xref uid=\"com.azure.data.tables.models.TableServiceCorsRule\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TableServiceCorsRule\"></xref> object."
type: "<xref href=\"com.azure.data.tables.models.TableServiceCorsRule?alt=com.azure.data.tables.models.TableServiceCorsRule&text=TableServiceCorsRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "CORS is an HTTP feature that enables a web application running under one domain to access resources in another domain. Web browsers implement a security restriction known as same-origin policy that prevents a web page from calling APIs in a different domain; CORS provides a secure way to allow one domain (the origin domain) to call APIs in another domain."
metadata: {}
package: "com.azure.data.tables.models"
artifact: com.azure:azure-data-tables:12.4.4