-
public class OkHttpBytecodeEntrypoint
-
-
Field Summary
Fields Modifier and Type Field Description public final static OkHttpBytecodeEntrypointINSTANCE
-
Method Summary
-
-
Method Detail
-
build
final static Unit build(OkHttpClient.BuilderĀ thiz)
As there was a way to clear the injected interceptors during the OkHttpClient initialization using the builder, we are hooking the build method as well, instead of just the Builder constructor.
Once the build method is called, OkHTTP mushes everything and returns the OkHttpClient instance, where the developer has no way to alter any of the interceptors during or after this point, without having to rebuild the client.
-
-
-
-