Class AsyncInvokerImpl

  • All Implemented Interfaces:
    javax.ws.rs.client.AsyncInvoker, javax.ws.rs.client.CompletionStageRxInvoker, javax.ws.rs.client.RxInvoker<CompletionStage>

    public class AsyncInvokerImpl
    extends Object
    implements javax.ws.rs.client.AsyncInvoker, javax.ws.rs.client.CompletionStageRxInvoker
    • Field Detail

      • EMPTY_BUFFER

        public static final io.vertx.core.buffer.Buffer EMPTY_BUFFER
    • Method Detail

      • get

        public CompletableFuture<javax.ws.rs.core.Response> get()
        Specified by:
        get in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        get in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        get in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • get

        public <T> CompletableFuture<T> get​(Class<T> responseType)
        Specified by:
        get in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        get in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        get in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • get

        public <T> CompletableFuture<T> get​(javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        get in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        get in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        get in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • get

        public <T> CompletableFuture<T> get​(javax.ws.rs.client.InvocationCallback<T> callback)
        Specified by:
        get in interface javax.ws.rs.client.AsyncInvoker
      • put

        public CompletableFuture<javax.ws.rs.core.Response> put​(javax.ws.rs.client.Entity<?> entity)
        Specified by:
        put in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        put in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        put in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • put

        public <T> CompletableFuture<T> put​(javax.ws.rs.client.Entity<?> entity,
                                            Class<T> responseType)
        Specified by:
        put in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        put in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        put in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • put

        public <T> CompletableFuture<T> put​(javax.ws.rs.client.Entity<?> entity,
                                            javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        put in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        put in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        put in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • put

        public <T> CompletableFuture<T> put​(javax.ws.rs.client.Entity<?> entity,
                                            javax.ws.rs.client.InvocationCallback<T> callback)
        Specified by:
        put in interface javax.ws.rs.client.AsyncInvoker
      • post

        public CompletableFuture<javax.ws.rs.core.Response> post​(javax.ws.rs.client.Entity<?> entity)
        Specified by:
        post in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        post in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        post in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • post

        public <T> CompletableFuture<T> post​(javax.ws.rs.client.Entity<?> entity,
                                             Class<T> responseType)
        Specified by:
        post in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        post in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        post in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • post

        public <T> CompletableFuture<T> post​(javax.ws.rs.client.Entity<?> entity,
                                             javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        post in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        post in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        post in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • post

        public <T> CompletableFuture<T> post​(javax.ws.rs.client.Entity<?> entity,
                                             javax.ws.rs.client.InvocationCallback<T> callback)
        Specified by:
        post in interface javax.ws.rs.client.AsyncInvoker
      • delete

        public CompletableFuture<javax.ws.rs.core.Response> delete()
        Specified by:
        delete in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        delete in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        delete in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • delete

        public <T> CompletableFuture<T> delete​(Class<T> responseType)
        Specified by:
        delete in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        delete in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        delete in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • delete

        public <T> CompletableFuture<T> delete​(javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        delete in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        delete in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        delete in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • delete

        public <T> CompletableFuture<T> delete​(javax.ws.rs.client.InvocationCallback<T> callback)
        Specified by:
        delete in interface javax.ws.rs.client.AsyncInvoker
      • head

        public CompletableFuture<javax.ws.rs.core.Response> head()
        Specified by:
        head in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        head in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        head in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • head

        public Future<javax.ws.rs.core.Response> head​(javax.ws.rs.client.InvocationCallback<javax.ws.rs.core.Response> callback)
        Specified by:
        head in interface javax.ws.rs.client.AsyncInvoker
      • options

        public CompletableFuture<javax.ws.rs.core.Response> options()
        Specified by:
        options in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        options in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        options in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • options

        public <T> CompletableFuture<T> options​(Class<T> responseType)
        Specified by:
        options in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        options in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        options in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • options

        public <T> CompletableFuture<T> options​(javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        options in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        options in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        options in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • options

        public <T> CompletableFuture<T> options​(javax.ws.rs.client.InvocationCallback<T> callback)
        Specified by:
        options in interface javax.ws.rs.client.AsyncInvoker
      • trace

        public CompletableFuture<javax.ws.rs.core.Response> trace()
        Specified by:
        trace in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        trace in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        trace in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • trace

        public <T> CompletableFuture<T> trace​(Class<T> responseType)
        Specified by:
        trace in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        trace in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        trace in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • trace

        public <T> CompletableFuture<T> trace​(javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        trace in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        trace in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        trace in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • trace

        public <T> CompletableFuture<T> trace​(javax.ws.rs.client.InvocationCallback<T> callback)
        Specified by:
        trace in interface javax.ws.rs.client.AsyncInvoker
      • method

        public CompletableFuture<javax.ws.rs.core.Response> method​(String name)
        Specified by:
        method in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        method in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • method

        public <T> CompletableFuture<T> method​(String name,
                                               Class<T> responseType)
        Specified by:
        method in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        method in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • method

        public <T> CompletableFuture<T> method​(String name,
                                               javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        method in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        method in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • method

        public <T> CompletableFuture<T> method​(String name,
                                               javax.ws.rs.client.InvocationCallback<T> callback)
        Specified by:
        method in interface javax.ws.rs.client.AsyncInvoker
      • method

        public CompletableFuture<javax.ws.rs.core.Response> method​(String name,
                                                                   javax.ws.rs.client.Entity<?> entity)
        Specified by:
        method in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        method in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • method

        public <T> CompletableFuture<T> method​(String name,
                                               javax.ws.rs.client.Entity<?> entity,
                                               Class<T> responseType)
        Specified by:
        method in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        method in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • method

        public <T> CompletableFuture<T> method​(String name,
                                               javax.ws.rs.client.Entity<?> entity,
                                               javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        method in interface javax.ws.rs.client.AsyncInvoker
        Specified by:
        method in interface javax.ws.rs.client.CompletionStageRxInvoker
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<CompletionStage>
      • method

        public <T> CompletableFuture<T> method​(String name,
                                               javax.ws.rs.client.Entity<?> entity,
                                               javax.ws.rs.client.InvocationCallback<T> callback)
        Specified by:
        method in interface javax.ws.rs.client.AsyncInvoker