Class HttpCall<V>

  • All Implemented Interfaces:
    java.lang.Cloneable

    public final class HttpCall<V>
    extends Call<V>
    • Method Detail

      • execute

        public V execute()
                  throws java.io.IOException
        Specified by:
        execute in class Call<V>
        Throws:
        java.io.IOException
      • cancel

        public void cancel()
        Specified by:
        cancel in class Call<V>
      • isCanceled

        public boolean isCanceled()
        Specified by:
        isCanceled in class Call<V>
      • parseResponse

        public static <V> V parseResponse​(okhttp3.Response response,
                                          HttpCall.BodyConverter<V> bodyConverter)
                                   throws java.io.IOException
        Throws:
        java.io.IOException