Class BlockedUserInterceptor

  • All Implemented Interfaces:
    okhttp3.Interceptor

    @Deprecated() 
    public class BlockedUserInterceptor
     implements Interceptor
                        

    This Interceptor is responsible for informing the application that the user has been blocked from communicating with the server. Deprecated since 7.1.0, please see 'LockAndWipeService' for details.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static Interceptor.Companion Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Response intercept(@NonNull() Interceptor.Chain chain)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BlockedUserInterceptor

        BlockedUserInterceptor(BlockedUserInterceptor.BlockedUserCallback blockedUserCallback)
        Creates a blocked user interceptor object which will fire the specified callback in the case that an http request is made and the user is blocked at the server.
        Parameters:
        blockedUserCallback - A BlockedUserCallback implementation that will be invoked when an http request is made and the user is blocked by the server.
    • Method Detail

      • intercept

        @NonNull() Response intercept(@NonNull() Interceptor.Chain chain)