azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.storage...

377 строки
14 KiB
YAML

### YamlMime:ManagedReference
items:
- uid: com.microsoft.azure.storage._cors_rule
id: _cors_rule
parent: com.microsoft.azure.storage
children:
- com.microsoft.azure.storage._cors_rule.getAllowedHeaders()
- com.microsoft.azure.storage._cors_rule.getAllowedMethods()
- com.microsoft.azure.storage._cors_rule.getAllowedOrigins()
- com.microsoft.azure.storage._cors_rule.getExposedHeaders()
- com.microsoft.azure.storage._cors_rule.getMaxAgeInSeconds()
- com.microsoft.azure.storage._cors_rule.setAllowedHeaders(List<String>)
- com.microsoft.azure.storage._cors_rule.setAllowedMethods(EnumSet<CorsHttpMethods>)
- com.microsoft.azure.storage._cors_rule.setAllowedOrigins(List<String>)
- com.microsoft.azure.storage._cors_rule.setExposedHeaders(List<String>)
- com.microsoft.azure.storage._cors_rule.setMaxAgeInSeconds(int)
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: CorsRule
nameWithType: CorsRule
fullName: com.microsoft.azure.storage.CorsRule
type: Class
source:
remote: &o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
branch: master
repo: https://github.com/Azure/azure-storage-java
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 24
package: com.microsoft.azure.storage
summary: <p>Represents a Cross-Origin Resource Sharing (CORS) rule. </p>
syntax:
content: public class CorsRule
inheritance:
- java.lang.Object
- uid: com.microsoft.azure.storage._cors_rule.getAllowedHeaders()
id: getAllowedHeaders()
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: getAllowedHeaders()
nameWithType: CorsRule.getAllowedHeaders()
fullName: com.microsoft.azure.storage.CorsRule.getAllowedHeaders()
overload: com.microsoft.azure.storage._cors_rule.getAllowedHeaders*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 98
package: com.microsoft.azure.storage
summary: >-
<p>Gets the allowed headers.</p>
<p></p>
syntax:
content: public List<String> getAllowedHeaders()
return:
type: 7d60c20e
description: <p>A <code>List</code> object which contains the allowed headers. </p>
- uid: com.microsoft.azure.storage._cors_rule.getAllowedMethods()
id: getAllowedMethods()
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: getAllowedMethods()
nameWithType: CorsRule.getAllowedMethods()
fullName: com.microsoft.azure.storage.CorsRule.getAllowedMethods()
overload: com.microsoft.azure.storage._cors_rule.getAllowedMethods*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 119
package: com.microsoft.azure.storage
summary: >-
<p>Gets the allowed methods.</p>
<p></p>
syntax:
content: public EnumSet<CorsHttpMethods> getAllowedMethods()
return:
type: de404d8acom.microsoft.azure.storage._cors_http_methodsa08ddfce
description: <p>A <code>List</code> object which contains the allowed methods. </p>
- uid: com.microsoft.azure.storage._cors_rule.getAllowedOrigins()
id: getAllowedOrigins()
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: getAllowedOrigins()
nameWithType: CorsRule.getAllowedOrigins()
fullName: com.microsoft.azure.storage.CorsRule.getAllowedOrigins()
overload: com.microsoft.azure.storage._cors_rule.getAllowedOrigins*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 56
package: com.microsoft.azure.storage
summary: >-
<p>Gets the allowed origins.</p>
<p></p>
syntax:
content: public List<String> getAllowedOrigins()
return:
type: 7d60c20e
description: <p>A <code>List</code> object which contains the allowed origins. </p>
- uid: com.microsoft.azure.storage._cors_rule.getExposedHeaders()
id: getExposedHeaders()
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: getExposedHeaders()
nameWithType: CorsRule.getExposedHeaders()
fullName: com.microsoft.azure.storage.CorsRule.getExposedHeaders()
overload: com.microsoft.azure.storage._cors_rule.getExposedHeaders*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 77
package: com.microsoft.azure.storage
summary: >-
<p>Gets the exposed headers.</p>
<p></p>
syntax:
content: public List<String> getExposedHeaders()
return:
type: 7d60c20e
description: <p>A <code>List</code> object which contains the exposed headers. </p>
- uid: com.microsoft.azure.storage._cors_rule.getMaxAgeInSeconds()
id: getMaxAgeInSeconds()
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: getMaxAgeInSeconds()
nameWithType: CorsRule.getMaxAgeInSeconds()
fullName: com.microsoft.azure.storage.CorsRule.getMaxAgeInSeconds()
overload: com.microsoft.azure.storage._cors_rule.getMaxAgeInSeconds*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 138
package: com.microsoft.azure.storage
summary: >-
<p>Gets the maximum age in seconds.</p>
<p></p>
syntax:
content: public int getMaxAgeInSeconds()
return:
type: f75371fa
description: <p>An <code>int</code> which represents the the maximum age in seconds. </p>
- uid: com.microsoft.azure.storage._cors_rule.setAllowedHeaders(List<String>)
id: setAllowedHeaders(List<String>)
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: setAllowedHeaders(List<String> allowedHeaders)
nameWithType: CorsRule.setAllowedHeaders(List<String> allowedHeaders)
fullName: com.microsoft.azure.storage.CorsRule.setAllowedHeaders(List<String> allowedHeaders)
overload: com.microsoft.azure.storage._cors_rule.setAllowedHeaders*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 110
package: com.microsoft.azure.storage
summary: >-
<p>Sets the allowed headers.</p>
<p>Limited to 64 defined headers and two prefixed headers, no more than 256 characters each.</p>
<p></p>
syntax:
content: public void setAllowedHeaders(List<String> allowedHeaders)
parameters:
- id: allowedHeaders
type: 7d60c20e
description: <p>A <code>List</code> object which contains the allowed headers. </p>
- uid: com.microsoft.azure.storage._cors_rule.setAllowedMethods(EnumSet<CorsHttpMethods>)
id: setAllowedMethods(EnumSet<CorsHttpMethods>)
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: setAllowedMethods(EnumSet<CorsHttpMethods> allowedMethods)
nameWithType: CorsRule.setAllowedMethods(EnumSet<CorsHttpMethods> allowedMethods)
fullName: com.microsoft.azure.storage.CorsRule.setAllowedMethods(EnumSet<CorsHttpMethods> allowedMethods)
overload: com.microsoft.azure.storage._cors_rule.setAllowedMethods*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 129
package: com.microsoft.azure.storage
summary: >-
<p>Sets the allowed methods.</p>
<p></p>
syntax:
content: public void setAllowedMethods(EnumSet<CorsHttpMethods> allowedMethods)
parameters:
- id: allowedMethods
type: de404d8acom.microsoft.azure.storage._cors_http_methodsa08ddfce
description: <p>A <code>List</code> object which contains the allowed methods. </p>
- uid: com.microsoft.azure.storage._cors_rule.setAllowedOrigins(List<String>)
id: setAllowedOrigins(List<String>)
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: setAllowedOrigins(List<String> allowedOrigins)
nameWithType: CorsRule.setAllowedOrigins(List<String> allowedOrigins)
fullName: com.microsoft.azure.storage.CorsRule.setAllowedOrigins(List<String> allowedOrigins)
overload: com.microsoft.azure.storage._cors_rule.setAllowedOrigins*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 68
package: com.microsoft.azure.storage
summary: >-
<p>Sets the allowed origins.</p>
<p>Limited to 64 origins OR "*" to allow all origins, no more than 256 characters each.</p>
<p></p>
syntax:
content: public void setAllowedOrigins(List<String> allowedOrigins)
parameters:
- id: allowedOrigins
type: 7d60c20e
description: <p>A <code>List</code> object which contains the allowed origins. </p>
- uid: com.microsoft.azure.storage._cors_rule.setExposedHeaders(List<String>)
id: setExposedHeaders(List<String>)
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: setExposedHeaders(List<String> exposedHeaders)
nameWithType: CorsRule.setExposedHeaders(List<String> exposedHeaders)
fullName: com.microsoft.azure.storage.CorsRule.setExposedHeaders(List<String> exposedHeaders)
overload: com.microsoft.azure.storage._cors_rule.setExposedHeaders*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 89
package: com.microsoft.azure.storage
summary: >-
<p>Sets the exposed headers.</p>
<p>Limited to 64 defined headers and two prefixed headers, no more than 256 characters each.</p>
<p></p>
syntax:
content: public void setExposedHeaders(List<String> exposedHeaders)
parameters:
- id: exposedHeaders
type: 7d60c20e
description: <p>A <code>List</code> object which contains the exposed headers. </p>
- uid: com.microsoft.azure.storage._cors_rule.setMaxAgeInSeconds(int)
id: setMaxAgeInSeconds(int)
parent: com.microsoft.azure.storage._cors_rule
href: com.microsoft.azure.storage._cors_rule.yml
langs:
- java
name: setMaxAgeInSeconds(int maxAgeInSeconds)
nameWithType: CorsRule.setMaxAgeInSeconds(int maxAgeInSeconds)
fullName: com.microsoft.azure.storage.CorsRule.setMaxAgeInSeconds(int maxAgeInSeconds)
overload: com.microsoft.azure.storage._cors_rule.setMaxAgeInSeconds*
type: Method
source:
remote: *o0
path: microsoft-azure-storage/src/com/microsoft/azure/storage/CorsRule.java
startLine: 148
package: com.microsoft.azure.storage
summary: >-
<p>Sets the maximum age in seconds.</p>
<p></p>
syntax:
content: public void setMaxAgeInSeconds(int maxAgeInSeconds)
parameters:
- id: maxAgeInSeconds
type: f75371fa
description: <p>An <code>int</code> which represents the the maximum age in seconds. </p>
references:
- uid: 7d60c20e
spec.java:
- name: List<String>
fullName: List<String>
- uid: com.microsoft.azure.storage._cors_rule.getAllowedOrigins*
name: getAllowedOrigins
nameWithType: CorsRule.getAllowedOrigins
fullName: com.microsoft.azure.storage.CorsRule.getAllowedOrigins
package: com.microsoft.azure.storage
- uid: com.microsoft.azure.storage._cors_rule.setAllowedOrigins*
name: setAllowedOrigins
nameWithType: CorsRule.setAllowedOrigins
fullName: com.microsoft.azure.storage.CorsRule.setAllowedOrigins
package: com.microsoft.azure.storage
- uid: com.microsoft.azure.storage._cors_rule.getExposedHeaders*
name: getExposedHeaders
nameWithType: CorsRule.getExposedHeaders
fullName: com.microsoft.azure.storage.CorsRule.getExposedHeaders
package: com.microsoft.azure.storage
- uid: com.microsoft.azure.storage._cors_rule.setExposedHeaders*
name: setExposedHeaders
nameWithType: CorsRule.setExposedHeaders
fullName: com.microsoft.azure.storage.CorsRule.setExposedHeaders
package: com.microsoft.azure.storage
- uid: com.microsoft.azure.storage._cors_rule.getAllowedHeaders*
name: getAllowedHeaders
nameWithType: CorsRule.getAllowedHeaders
fullName: com.microsoft.azure.storage.CorsRule.getAllowedHeaders
package: com.microsoft.azure.storage
- uid: com.microsoft.azure.storage._cors_rule.setAllowedHeaders*
name: setAllowedHeaders
nameWithType: CorsRule.setAllowedHeaders
fullName: com.microsoft.azure.storage.CorsRule.setAllowedHeaders
package: com.microsoft.azure.storage
- uid: de404d8acom.microsoft.azure.storage._cors_http_methodsa08ddfce
spec.java:
- name: EnumSet<
fullName: EnumSet<
- uid: com.microsoft.azure.storage._cors_http_methods
name: CorsHttpMethods
fullName: com.microsoft.azure.storage.CorsHttpMethods
href: com.microsoft.azure.storage._cors_http_methods.yml
- name: '>'
fullName: '>'
- uid: com.microsoft.azure.storage._cors_rule.getAllowedMethods*
name: getAllowedMethods
nameWithType: CorsRule.getAllowedMethods
fullName: com.microsoft.azure.storage.CorsRule.getAllowedMethods
package: com.microsoft.azure.storage
- uid: com.microsoft.azure.storage._cors_rule.setAllowedMethods*
name: setAllowedMethods
nameWithType: CorsRule.setAllowedMethods
fullName: com.microsoft.azure.storage.CorsRule.setAllowedMethods
package: com.microsoft.azure.storage
- uid: f75371fa
spec.java:
- name: int
fullName: int
- uid: com.microsoft.azure.storage._cors_rule.getMaxAgeInSeconds*
name: getMaxAgeInSeconds
nameWithType: CorsRule.getMaxAgeInSeconds
fullName: com.microsoft.azure.storage.CorsRule.getMaxAgeInSeconds
package: com.microsoft.azure.storage
- uid: com.microsoft.azure.storage._cors_rule.setMaxAgeInSeconds*
name: setMaxAgeInSeconds
nameWithType: CorsRule.setMaxAgeInSeconds
fullName: com.microsoft.azure.storage.CorsRule.setMaxAgeInSeconds
package: com.microsoft.azure.storage
- uid: com.microsoft.azure.storage._cors_http_methods
parent: com.microsoft.azure.storage
href: com.microsoft.azure.storage._cors_http_methods.yml
name: CorsHttpMethods
nameWithType: CorsHttpMethods
fullName: com.microsoft.azure.storage.CorsHttpMethods
type: Enum
summary: <p>HTTP Methods that are supported by CORS. </p>
syntax:
content: public enum CorsHttpMethods