92 строки
8.2 KiB
YAML
92 строки
8.2 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.util.Contexts"
|
|
fullName: "com.azure.core.util.Contexts"
|
|
name: "Contexts"
|
|
nameWithType: "Contexts"
|
|
summary: "A utility type that can be used to add and retrieve instances commonly used in <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
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 **Contexts**"
|
|
methods:
|
|
- uid: "com.azure.core.util.Contexts.empty()"
|
|
fullName: "com.azure.core.util.Contexts.empty()"
|
|
name: "empty()"
|
|
nameWithType: "Contexts.empty()"
|
|
summary: "Creates <xref uid=\"com.azure.core.util.Contexts\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Contexts\"></xref> from empty <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static Contexts empty()"
|
|
desc: "Creates <xref uid=\"com.azure.core.util.Contexts\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Contexts\"></xref> from empty <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
returns:
|
|
description: "The <xref uid=\"com.azure.core.util.Contexts\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Contexts\"></xref> instance."
|
|
type: "<xref href=\"com.azure.core.util.Contexts?alt=com.azure.core.util.Contexts&text=Contexts\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.util.Contexts.getContext()"
|
|
fullName: "com.azure.core.util.Contexts.getContext()"
|
|
name: "getContext()"
|
|
nameWithType: "Contexts.getContext()"
|
|
summary: "Returns a version of the <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> reflecting mutations."
|
|
syntax: "public Context getContext()"
|
|
desc: "Returns a version of the <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> reflecting mutations."
|
|
returns:
|
|
description: "The version of the <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref> reflecting mutations."
|
|
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.util.Contexts.getHttpRequestProgressReporter()"
|
|
fullName: "com.azure.core.util.Contexts.getHttpRequestProgressReporter()"
|
|
name: "getHttpRequestProgressReporter()"
|
|
nameWithType: "Contexts.getHttpRequestProgressReporter()"
|
|
summary: "Retrieves request's <xref uid=\"com.azure.core.util.ProgressReporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ProgressReporter\"></xref> from the <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
syntax: "public ProgressReporter getHttpRequestProgressReporter()"
|
|
desc: "Retrieves request's <xref uid=\"com.azure.core.util.ProgressReporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ProgressReporter\"></xref> from the <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
returns:
|
|
description: "The <xref uid=\"com.azure.core.util.ProgressReporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ProgressReporter\"></xref>."
|
|
type: "<xref href=\"com.azure.core.util.ProgressReporter?alt=com.azure.core.util.ProgressReporter&text=ProgressReporter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.util.Contexts.setHttpRequestProgressReporter(com.azure.core.util.ProgressReporter)"
|
|
fullName: "com.azure.core.util.Contexts.setHttpRequestProgressReporter(ProgressReporter progressReporter)"
|
|
name: "setHttpRequestProgressReporter(ProgressReporter progressReporter)"
|
|
nameWithType: "Contexts.setHttpRequestProgressReporter(ProgressReporter progressReporter)"
|
|
summary: "Adds request's <xref uid=\"com.azure.core.util.ProgressReporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ProgressReporter\"></xref> instance to the <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
parameters:
|
|
- description: "The <xref uid=\"com.azure.core.util.ProgressReporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ProgressReporter\"></xref> instance."
|
|
name: "progressReporter"
|
|
type: "<xref href=\"com.azure.core.util.ProgressReporter?alt=com.azure.core.util.ProgressReporter&text=ProgressReporter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public Contexts setHttpRequestProgressReporter(ProgressReporter progressReporter)"
|
|
desc: "Adds request's <xref uid=\"com.azure.core.util.ProgressReporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"ProgressReporter\"></xref> instance to the <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
returns:
|
|
description: "Itself."
|
|
type: "<xref href=\"com.azure.core.util.Contexts?alt=com.azure.core.util.Contexts&text=Contexts\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.util.Contexts.with(com.azure.core.util.Context)"
|
|
fullName: "com.azure.core.util.Contexts.with(Context context)"
|
|
name: "with(Context context)"
|
|
nameWithType: "Contexts.with(Context context)"
|
|
summary: "Creates <xref uid=\"com.azure.core.util.Contexts\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Contexts\"></xref> from supplied <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "Existing <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>. Must not be null."
|
|
name: "context"
|
|
type: "<xref href=\"com.azure.core.util.Context?alt=com.azure.core.util.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static Contexts with(Context context)"
|
|
desc: "Creates <xref uid=\"com.azure.core.util.Contexts\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Contexts\"></xref> from supplied <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
returns:
|
|
description: "The <xref uid=\"com.azure.core.util.Contexts\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Contexts\"></xref> instance."
|
|
type: "<xref href=\"com.azure.core.util.Contexts?alt=com.azure.core.util.Contexts&text=Contexts\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "A utility type that can be used to add and retrieve instances commonly used in <xref uid=\"com.azure.core.util.Context\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Context\"></xref>."
|
|
metadata: {}
|
|
package: "com.azure.core.util"
|
|
artifact: com.azure:azure-core:1.54.0
|