public final class TelemetryFactory extends Object implements com.microsoft.rest.v2.policy.RequestPolicyFactory
HttpPipeline for adding telemetry to a given HTTP request. In
most cases, it is sufficient to configure a TelemetryOptions object and set those as a field on a
PipelineOptions object to configure a default pipeline. The factory and policy must only be used directly
when creating a custom pipeline.| Constructor and Description |
|---|
TelemetryFactory(TelemetryOptions telemetryOptions)
Creates a factory that can create telemetry policy objects which add telemetry information to the outgoing
HTTP requests.
|
| Modifier and Type | Method and Description |
|---|---|
com.microsoft.rest.v2.policy.RequestPolicy |
create(com.microsoft.rest.v2.policy.RequestPolicy next,
com.microsoft.rest.v2.policy.RequestPolicyOptions options) |
public TelemetryFactory(TelemetryOptions telemetryOptions)
telemetryOptions - TelemetryOptionsCopyright © 2019 Microsoft Corporation. All rights reserved.