Class AsyncClient

    • Constructor Summary

      Constructors 
      Constructor Description
      AsyncClient​(okhttp3.OkHttpClient client)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.messages.EmptyResponseBody> remoteCall​(okhttp3.Request request)  
      protected <Out,​In>
      java.util.concurrent.CompletableFuture<Out>
      remoteCall​(okhttp3.Request request, java.lang.Class<Out> outClass, java.lang.Class<In> parameterClasses)  
      protected <T> java.util.concurrent.CompletableFuture<T> remoteCall​(okhttp3.Request request, java.lang.Class<T> responseClass)  
      • Methods inherited from class java.lang.Object

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

      • AsyncClient

        public AsyncClient​(okhttp3.OkHttpClient client)
    • Method Detail

      • remoteCall

        protected java.util.concurrent.CompletableFuture<org.apache.flink.runtime.rest.messages.EmptyResponseBody> remoteCall​(okhttp3.Request request)
                                                                                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • remoteCall

        protected <Out,​In> java.util.concurrent.CompletableFuture<Out> remoteCall​(okhttp3.Request request,
                                                                                        java.lang.Class<Out> outClass,
                                                                                        java.lang.Class<In> parameterClasses)
                                                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • remoteCall

        protected <T> java.util.concurrent.CompletableFuture<T> remoteCall​(okhttp3.Request request,
                                                                           java.lang.Class<T> responseClass)
                                                                    throws java.io.IOException
        Throws:
        java.io.IOException