-
public final class StreamHttpConfigConfiguration for HTTP clients in the Stream client.
-
-
Field Summary
Fields Modifier and Type Field Description private final OkHttpClient.BuilderhttpBuilderprivate final BooleanautomaticInterceptorsprivate final Set<Interceptor>configuredInterceptors
-
Constructor Summary
Constructors Constructor Description StreamHttpConfig(OkHttpClient.Builder httpBuilder, Boolean automaticInterceptors, Set<Interceptor> configuredInterceptors)
-
Method Summary
Modifier and Type Method Description final OkHttpClient.BuildergetHttpBuilder()final BooleangetAutomaticInterceptors()final Set<Interceptor>getConfiguredInterceptors()-
-
Constructor Detail
-
StreamHttpConfig
StreamHttpConfig(OkHttpClient.Builder httpBuilder, Boolean automaticInterceptors, Set<Interceptor> configuredInterceptors)
- Parameters:
httpBuilder- The HTTP client builder.automaticInterceptors- Whether to add automatic interceptors.configuredInterceptors- The configured interceptors.
-
-
Method Detail
-
getHttpBuilder
final OkHttpClient.Builder getHttpBuilder()
-
getAutomaticInterceptors
final Boolean getAutomaticInterceptors()
-
getConfiguredInterceptors
final Set<Interceptor> getConfiguredInterceptors()
-
-
-
-