Package com.studerw.tda.http
Class LoggingInterceptor
java.lang.Object
com.studerw.tda.http.LoggingInterceptor
- All Implemented Interfaces:
okhttp3.Interceptor
This class will log all HTTP activity to the logname passed in the constructor.
This is currently set as TDA_HTTP.
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain
-
Constructor Summary
ConstructorsConstructorDescriptionLoggingInterceptor
(String logName) LoggingInterceptor
(String logName, int byteCount) -
Method Summary
-
Constructor Details
-
LoggingInterceptor
-
LoggingInterceptor
-
-
Method Details
-
intercept
- Specified by:
intercept
in interfaceokhttp3.Interceptor
- Throws:
IOException
-