Class TelemetryHandler
java.lang.Object
com.microsoft.kiota.http.middleware.TelemetryHandler
- All Implemented Interfaces:
okhttp3.Interceptor
TelemetryHandler implementation using OkHttp3
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain, okhttp3.Interceptor.Companion -
Field Summary
Fields inherited from interface okhttp3.Interceptor
Companion -
Constructor Summary
ConstructorsConstructorDescriptionTelemetryHandler no param constructorTelemetryHandler(TelemetryHandlerOption telemetryHandlerOption) TelemetryHandler constructor with passed in options. -
Method Summary
-
Constructor Details
-
TelemetryHandler
public TelemetryHandler()TelemetryHandler no param constructor -
TelemetryHandler
TelemetryHandler constructor with passed in options.- Parameters:
telemetryHandlerOption- The user specified telemetryHandlerOptions
-
-
Method Details
-
intercept
- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-