-
public class TDSNetInterceptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
TDSNetInterceptor.CheckAuthCallback
-
Method Summary
Modifier and Type Method Description static TDSNetInterceptor
getInstance()
static void
registerNetInterceptor(String from, ErrorHandler handler)
static void
unRegisterNetInterceptor(String from)
static void
interceptWithContent(int statusCode, String message, String responseBody)
static void
checkAuthErrorAccessDenied(String jsonString, TDSNetInterceptor.CheckAuthCallback callback)
static void
checkAuthError(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)
-
-
-
-