Package com.flurry.android
Class FlurryPerformance.HttpInterceptor
java.lang.Object
com.flurry.android.impl.core.performance.HttpLogging.FlurryHttpInterceptor
com.flurry.android.FlurryPerformance.HttpInterceptor
- All Implemented Interfaces:
okhttp3.Interceptor
- Enclosing class:
- FlurryPerformance
public static class FlurryPerformance.HttpInterceptor
extends com.flurry.android.impl.core.performance.HttpLogging.FlurryHttpInterceptor
Use Interceptors supported in okhttp3: provide an HttpInterceptor for Flurry that users
can add for their OkHttpClient.
Example:
OkHttpClient client = new OkHttpClient.Builder()
.addInterceptor(new FlurryPerformance.HttpInterceptor(MyGroupID))
.build();
The same instance of FlurryPerformance.HttpInterceptor can be used multiple times for addInterceptor.-
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
-
Method Summary
Methods inherited from class com.flurry.android.impl.core.performance.HttpLogging.FlurryHttpInterceptor
intercept
-
Constructor Details
-
HttpInterceptor
-
-
Method Details
-
setId
Set group ID for further event logging.- Overrides:
setId
in classcom.flurry.android.impl.core.performance.HttpLogging.FlurryHttpInterceptor
- Parameters:
id
- the group ID
-