Class Contexts
java.lang.Object
com.azure.core.util.Contexts
-
Method Summary
Modifier and TypeMethodDescriptionstatic Contextsempty()Returns a version of theContextreflecting mutations.Retrieves request'sProgressReporterfrom theContext.setHttpRequestProgressReporter(ProgressReporter progressReporter) Adds request'sProgressReporterinstance to theContext.static Contexts
-
Method Details
-
empty
-
with
-
setHttpRequestProgressReporter
Adds request'sProgressReporterinstance to theContext.- Parameters:
progressReporter- TheProgressReporterinstance.- Returns:
- Itself.
-
getHttpRequestProgressReporter
Retrieves request'sProgressReporterfrom theContext.- Returns:
- The
ProgressReporter.
-
getContext
-