227 строки
17 KiB
YAML
227 строки
17 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.storage.queue.models.QueueCorsRule"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule"
|
|
name: "QueueCorsRule"
|
|
nameWithType: "QueueCorsRule"
|
|
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 **QueueCorsRule**</br> implements <xref href=\"com.azure.xml.XmlSerializable?alt=com.azure.xml.XmlSerializable&text=XmlSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.queue.models.QueueCorsRule?alt=com.azure.storage.queue.models.QueueCorsRule&text=QueueCorsRule\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.QueueCorsRule()"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.QueueCorsRule()"
|
|
name: "QueueCorsRule()"
|
|
nameWithType: "QueueCorsRule.QueueCorsRule()"
|
|
summary: "Creates an instance of Queue<wbr>Cors<wbr>Rule class."
|
|
syntax: "public QueueCorsRule()"
|
|
desc: "Creates an instance of QueueCorsRule class."
|
|
methods:
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.fromXml(com.azure.xml.XmlReader)"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.fromXml(XmlReader xmlReader)"
|
|
name: "fromXml(XmlReader xmlReader)"
|
|
nameWithType: "QueueCorsRule.fromXml(XmlReader xmlReader)"
|
|
summary: "Reads an instance of Queue<wbr>Cors<wbr>Rule from the Xml<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The XmlReader being read."
|
|
name: "xmlReader"
|
|
type: "<xref href=\"com.azure.xml.XmlReader?alt=com.azure.xml.XmlReader&text=XmlReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static QueueCorsRule fromXml(XmlReader xmlReader)"
|
|
exceptions:
|
|
- description: "If the deserialized XML object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
|
|
desc: "Reads an instance of QueueCorsRule from the XmlReader."
|
|
returns:
|
|
description: "An instance of QueueCorsRule if the XmlReader was pointing to an instance of it, or null if it was\n pointing to XML null."
|
|
type: "<xref href=\"com.azure.storage.queue.models.QueueCorsRule?alt=com.azure.storage.queue.models.QueueCorsRule&text=QueueCorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.fromXml(com.azure.xml.XmlReader,java.lang.String)"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.fromXml(XmlReader xmlReader, String rootElementName)"
|
|
name: "fromXml(XmlReader xmlReader, String rootElementName)"
|
|
nameWithType: "QueueCorsRule.fromXml(XmlReader xmlReader, String rootElementName)"
|
|
summary: "Reads an instance of Queue<wbr>Cors<wbr>Rule from the Xml<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The XmlReader being read."
|
|
name: "xmlReader"
|
|
type: "<xref href=\"com.azure.xml.XmlReader?alt=com.azure.xml.XmlReader&text=XmlReader\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "Optional root element name to override the default defined by the model. Used to support\n cases where the model can deserialize from different root element names."
|
|
name: "rootElementName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public static QueueCorsRule fromXml(XmlReader xmlReader, String rootElementName)"
|
|
exceptions:
|
|
- description: "If the deserialized XML object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
|
|
desc: "Reads an instance of QueueCorsRule from the XmlReader."
|
|
returns:
|
|
description: "An instance of QueueCorsRule if the XmlReader was pointing to an instance of it, or null if it was\n pointing to XML null."
|
|
type: "<xref href=\"com.azure.storage.queue.models.QueueCorsRule?alt=com.azure.storage.queue.models.QueueCorsRule&text=QueueCorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.getAllowedHeaders()"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.getAllowedHeaders()"
|
|
name: "getAllowedHeaders()"
|
|
nameWithType: "QueueCorsRule.getAllowedHeaders()"
|
|
summary: "Get the allowed<wbr>Headers property: the request headers that the origin domain may specify on the CORS request."
|
|
syntax: "public String getAllowedHeaders()"
|
|
desc: "Get the allowedHeaders property: the request headers that the origin domain may specify on the CORS request."
|
|
returns:
|
|
description: "the allowedHeaders value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.getAllowedMethods()"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.getAllowedMethods()"
|
|
name: "getAllowedMethods()"
|
|
nameWithType: "QueueCorsRule.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 allowedMethods value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.getAllowedOrigins()"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.getAllowedOrigins()"
|
|
name: "getAllowedOrigins()"
|
|
nameWithType: "QueueCorsRule.getAllowedOrigins()"
|
|
summary: "Get the allowed<wbr>Origins property: The origin domains that are permitted to make a request against the storage service via CORS."
|
|
syntax: "public String getAllowedOrigins()"
|
|
desc: "Get the allowedOrigins property: The origin domains that are permitted to make a request against the storage 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 allowedOrigins value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.getExposedHeaders()"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.getExposedHeaders()"
|
|
name: "getExposedHeaders()"
|
|
nameWithType: "QueueCorsRule.getExposedHeaders()"
|
|
summary: "Get the exposed<wbr>Headers property: 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 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."
|
|
returns:
|
|
description: "the exposedHeaders value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.getMaxAgeInSeconds()"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.getMaxAgeInSeconds()"
|
|
name: "getMaxAgeInSeconds()"
|
|
nameWithType: "QueueCorsRule.getMaxAgeInSeconds()"
|
|
summary: "Get the max<wbr>Age<wbr>InSeconds property: The maximum amount time that a browser should cache the preflight OPTIONS request."
|
|
syntax: "public int getMaxAgeInSeconds()"
|
|
desc: "Get the maxAgeInSeconds property: The maximum amount time that a browser should cache the preflight OPTIONS request."
|
|
returns:
|
|
description: "the maxAgeInSeconds value."
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.setAllowedHeaders(java.lang.String)"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.setAllowedHeaders(String allowedHeaders)"
|
|
name: "setAllowedHeaders(String allowedHeaders)"
|
|
nameWithType: "QueueCorsRule.setAllowedHeaders(String allowedHeaders)"
|
|
summary: "Set the allowed<wbr>Headers property: the request headers that the origin domain may specify on the CORS request."
|
|
parameters:
|
|
- description: "the allowedHeaders value to set."
|
|
name: "allowedHeaders"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public QueueCorsRule setAllowedHeaders(String allowedHeaders)"
|
|
desc: "Set the allowedHeaders property: the request headers that the origin domain may specify on the CORS request."
|
|
returns:
|
|
description: "the QueueCorsRule object itself."
|
|
type: "<xref href=\"com.azure.storage.queue.models.QueueCorsRule?alt=com.azure.storage.queue.models.QueueCorsRule&text=QueueCorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.setAllowedMethods(java.lang.String)"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.setAllowedMethods(String allowedMethods)"
|
|
name: "setAllowedMethods(String allowedMethods)"
|
|
nameWithType: "QueueCorsRule.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 allowedMethods value to set."
|
|
name: "allowedMethods"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public QueueCorsRule 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 QueueCorsRule object itself."
|
|
type: "<xref href=\"com.azure.storage.queue.models.QueueCorsRule?alt=com.azure.storage.queue.models.QueueCorsRule&text=QueueCorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.setAllowedOrigins(java.lang.String)"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.setAllowedOrigins(String allowedOrigins)"
|
|
name: "setAllowedOrigins(String allowedOrigins)"
|
|
nameWithType: "QueueCorsRule.setAllowedOrigins(String allowedOrigins)"
|
|
summary: "Set the allowed<wbr>Origins property: The origin domains that are permitted to make a request against the storage service via CORS."
|
|
parameters:
|
|
- description: "the allowedOrigins value to set."
|
|
name: "allowedOrigins"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public QueueCorsRule setAllowedOrigins(String allowedOrigins)"
|
|
desc: "Set the allowedOrigins property: The origin domains that are permitted to make a request against the storage 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 QueueCorsRule object itself."
|
|
type: "<xref href=\"com.azure.storage.queue.models.QueueCorsRule?alt=com.azure.storage.queue.models.QueueCorsRule&text=QueueCorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.setExposedHeaders(java.lang.String)"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.setExposedHeaders(String exposedHeaders)"
|
|
name: "setExposedHeaders(String exposedHeaders)"
|
|
nameWithType: "QueueCorsRule.setExposedHeaders(String exposedHeaders)"
|
|
summary: "Set the exposed<wbr>Headers property: 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 exposedHeaders value to set."
|
|
name: "exposedHeaders"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public QueueCorsRule setExposedHeaders(String exposedHeaders)"
|
|
desc: "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."
|
|
returns:
|
|
description: "the QueueCorsRule object itself."
|
|
type: "<xref href=\"com.azure.storage.queue.models.QueueCorsRule?alt=com.azure.storage.queue.models.QueueCorsRule&text=QueueCorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.setMaxAgeInSeconds(int)"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.setMaxAgeInSeconds(int maxAgeInSeconds)"
|
|
name: "setMaxAgeInSeconds(int maxAgeInSeconds)"
|
|
nameWithType: "QueueCorsRule.setMaxAgeInSeconds(int maxAgeInSeconds)"
|
|
summary: "Set the max<wbr>Age<wbr>InSeconds property: The maximum amount time that a browser should cache the preflight OPTIONS request."
|
|
parameters:
|
|
- description: "the maxAgeInSeconds value to set."
|
|
name: "maxAgeInSeconds"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public QueueCorsRule setMaxAgeInSeconds(int maxAgeInSeconds)"
|
|
desc: "Set the maxAgeInSeconds property: The maximum amount time that a browser should cache the preflight OPTIONS request."
|
|
returns:
|
|
description: "the QueueCorsRule object itself."
|
|
type: "<xref href=\"com.azure.storage.queue.models.QueueCorsRule?alt=com.azure.storage.queue.models.QueueCorsRule&text=QueueCorsRule\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.toXml(com.azure.xml.XmlWriter)"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.toXml(XmlWriter xmlWriter)"
|
|
name: "toXml(XmlWriter xmlWriter)"
|
|
nameWithType: "QueueCorsRule.toXml(XmlWriter xmlWriter)"
|
|
parameters:
|
|
- name: "xmlWriter"
|
|
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public XmlWriter toXml(XmlWriter xmlWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.storage.queue.models.QueueCorsRule.toXml(com.azure.xml.XmlWriter,java.lang.String)"
|
|
fullName: "com.azure.storage.queue.models.QueueCorsRule.toXml(XmlWriter xmlWriter, String rootElementName)"
|
|
name: "toXml(XmlWriter xmlWriter, String rootElementName)"
|
|
nameWithType: "QueueCorsRule.toXml(XmlWriter xmlWriter, String rootElementName)"
|
|
parameters:
|
|
- name: "xmlWriter"
|
|
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- name: "rootElementName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public XmlWriter toXml(XmlWriter xmlWriter, String rootElementName)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/javax/xml/stream/XMLStreamException.html\">XMLStreamException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.xml.XmlWriter?alt=com.azure.xml.XmlWriter&text=XmlWriter\" 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."
|
|
implements:
|
|
- "<xref href=\"com.azure.xml.XmlSerializable?alt=com.azure.xml.XmlSerializable&text=XmlSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.storage.queue.models.QueueCorsRule?alt=com.azure.storage.queue.models.QueueCorsRule&text=QueueCorsRule\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.storage.queue.models"
|
|
artifact: com.azure:azure-storage-queue:12.23.0
|