Class FailsafeCallAdapter

  • All Implemented Interfaces:
    java.lang.Cloneable, okhttp3.Call

    public class FailsafeCallAdapter
    extends java.lang.Object
    implements okhttp3.Call
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface okhttp3.Call

        okhttp3.Call.Factory
    • Constructor Summary

      Constructors 
      Constructor Description
      FailsafeCallAdapter​(dev.failsafe.okhttp.FailsafeCall failsafeCall)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancel()  
      @NotNull okhttp3.Call clone()  
      void enqueue​(@NotNull okhttp3.Callback callback)  
      @NotNull okhttp3.Response execute()  
      boolean isCanceled()  
      boolean isExecuted()  
      @NotNull okhttp3.Request request()  
      @NotNull okio.Timeout timeout()  
      • Methods inherited from class java.lang.Object

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

      • FailsafeCallAdapter

        public FailsafeCallAdapter​(dev.failsafe.okhttp.FailsafeCall failsafeCall)
    • Method Detail

      • request

        @NotNull
        public @NotNull okhttp3.Request request()
        Specified by:
        request in interface okhttp3.Call
      • execute

        @NotNull
        public @NotNull okhttp3.Response execute()
                                          throws java.io.IOException
        Specified by:
        execute in interface okhttp3.Call
        Throws:
        java.io.IOException
      • enqueue

        public void enqueue​(@NotNull
                            @NotNull okhttp3.Callback callback)
        Specified by:
        enqueue in interface okhttp3.Call
      • cancel

        public void cancel()
        Specified by:
        cancel in interface okhttp3.Call
      • isExecuted

        public boolean isExecuted()
        Specified by:
        isExecuted in interface okhttp3.Call
      • isCanceled

        public boolean isCanceled()
        Specified by:
        isCanceled in interface okhttp3.Call
      • timeout

        @NotNull
        public @NotNull okio.Timeout timeout()
        Specified by:
        timeout in interface okhttp3.Call
      • clone

        @NotNull
        public @NotNull okhttp3.Call clone()
        Specified by:
        clone in interface okhttp3.Call
        Overrides:
        clone in class java.lang.Object