Package ai.rev.speechtotext
Class ErrorInterceptor
- java.lang.Object
-
- ai.rev.speechtotext.ErrorInterceptor
-
- All Implemented Interfaces:
okhttp3.Interceptor
public class ErrorInterceptor extends Object implements okhttp3.Interceptor
The ErrorInterceptor class is used to intercept all responses with erroneous response codes.
-
-
Constructor Summary
Constructors Constructor Description ErrorInterceptor()
-
-
-
Method Detail
-
intercept
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-
-