Class RetrofitCallExecutor


  • public class RetrofitCallExecutor
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Class target  
    • Constructor Summary

      Constructors 
      Constructor Description
      RetrofitCallExecutor​(java.lang.Class target)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T execOrThrow​(retrofit2.Call<T> call)  
      <T> retrofit2.Response<T> executeOrThrow​(retrofit2.Call<T> call)  
      • Methods inherited from class java.lang.Object

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

      • target

        protected java.lang.Class target
    • Constructor Detail

      • RetrofitCallExecutor

        public RetrofitCallExecutor​(java.lang.Class target)
    • Method Detail

      • execOrThrow

        public <T> T execOrThrow​(retrofit2.Call<T> call)
      • executeOrThrow

        public <T> retrofit2.Response<T> executeOrThrow​(retrofit2.Call<T> call)