public final class TelemetryFactory
extends java.lang.Object
implements com.microsoft.rest.v2.policy.RequestPolicyFactory
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
- A TelemetryOptions
object which configures the behavior for the telemetry policies produced by this
factory.