File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
nohttp/src/main/java/com/yanzhenjie/nohttp/rest Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1515 */
1616package com .yanzhenjie .nohttp .rest ;
1717
18+ import com .yanzhenjie .nohttp .InitializationConfig ;
1819import com .yanzhenjie .nohttp .NoHttp ;
1920
2021/**
@@ -30,7 +31,12 @@ public enum SyncRequestExecutor {
3031 private RequestHandler mRequestHandler ;
3132
3233 SyncRequestExecutor () {
33- mRequestHandler = new RequestHandler (NoHttp .getInitializeConfig ().getCacheStore (), NoHttp .getInitializeConfig ().getNetworkExecutor ());
34+ InitializationConfig initializationConfig = NoHttp .getInitializeConfig ();
35+ mRequestHandler = new RequestHandler (
36+ initializationConfig .getCacheStore (),
37+ initializationConfig .getNetworkExecutor (),
38+ initializationConfig .getInterceptor ()
39+ );
3440 }
3541
3642 /**
You can’t perform that action at this time.
0 commit comments