-
public class TDSNetInterceptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTDSNetInterceptor.CheckAuthCallback
-
Method Summary
Modifier and Type Method Description static TDSNetInterceptorgetInstance()static voidregisterNetInterceptor(String from, ErrorHandler handler)static voidunRegisterNetInterceptor(String from)static voidinterceptWithContent(int statusCode, String message, String responseBody)static voidcheckAuthErrorAccessDenied(String jsonString, TDSNetInterceptor.CheckAuthCallback callback)static voidcheckAuthError(String jsonString, TDSNetInterceptor.CheckAuthCallback callback, Array<String> errorList)-
-
Method Detail
-
getInstance
static TDSNetInterceptor getInstance()
-
registerNetInterceptor
static void registerNetInterceptor(String from, ErrorHandler handler)
-
unRegisterNetInterceptor
static void unRegisterNetInterceptor(String from)
-
interceptWithContent
static void interceptWithContent(int statusCode, String message, String responseBody)
-
checkAuthErrorAccessDenied
static void checkAuthErrorAccessDenied(String jsonString, TDSNetInterceptor.CheckAuthCallback callback)
-
checkAuthError
static void checkAuthError(String jsonString, TDSNetInterceptor.CheckAuthCallback callback, Array<String> errorList)
-
-
-
-