Interface ListenableFutureInvoker

  • All Superinterfaces:
    javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>

    public interface ListenableFutureInvoker
    extends javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
    An RxInvoker implementation which supports Guava ListenableFuture.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> delete()  
      <R> com.google.common.util.concurrent.ListenableFuture<R> delete​(Class<R> responseType)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> delete​(javax.ws.rs.core.GenericType<R> responseType)  
      com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> get()  
      <R> com.google.common.util.concurrent.ListenableFuture<R> get​(Class<R> responseType)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> get​(javax.ws.rs.core.GenericType<R> responseType)  
      com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> head()  
      com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> method​(String name)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> method​(String name, Class<R> responseType)  
      com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> method​(String name, javax.ws.rs.client.Entity<?> entity)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> method​(String name, javax.ws.rs.client.Entity<?> entity, Class<R> responseType)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> method​(String name, javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<R> responseType)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> method​(String name, javax.ws.rs.core.GenericType<R> responseType)  
      com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> options()  
      <R> com.google.common.util.concurrent.ListenableFuture<R> options​(Class<R> responseType)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> options​(javax.ws.rs.core.GenericType<R> responseType)  
      com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> post​(javax.ws.rs.client.Entity<?> entity)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> post​(javax.ws.rs.client.Entity<?> entity, Class<R> responseType)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> post​(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<R> responseType)  
      com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> put​(javax.ws.rs.client.Entity<?> entity)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> put​(javax.ws.rs.client.Entity<?> entity, Class<R> responseType)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> put​(javax.ws.rs.client.Entity<?> entity, javax.ws.rs.core.GenericType<R> responseType)  
      com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> trace()  
      <R> com.google.common.util.concurrent.ListenableFuture<R> trace​(Class<R> responseType)  
      <R> com.google.common.util.concurrent.ListenableFuture<R> trace​(javax.ws.rs.core.GenericType<R> responseType)  
    • Method Detail

      • delete

        com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> delete()
        Specified by:
        delete in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • delete

        <R> com.google.common.util.concurrent.ListenableFuture<R> delete​(Class<R> responseType)
        Specified by:
        delete in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • delete

        <R> com.google.common.util.concurrent.ListenableFuture<R> delete​(javax.ws.rs.core.GenericType<R> responseType)
        Specified by:
        delete in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • get

        com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> get()
        Specified by:
        get in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • get

        <R> com.google.common.util.concurrent.ListenableFuture<R> get​(Class<R> responseType)
        Specified by:
        get in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • get

        <R> com.google.common.util.concurrent.ListenableFuture<R> get​(javax.ws.rs.core.GenericType<R> responseType)
        Specified by:
        get in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • head

        com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> head()
        Specified by:
        head in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • method

        com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> method​(String name)
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • method

        <R> com.google.common.util.concurrent.ListenableFuture<R> method​(String name,
                                                                         Class<R> responseType)
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • method

        <R> com.google.common.util.concurrent.ListenableFuture<R> method​(String name,
                                                                         javax.ws.rs.core.GenericType<R> responseType)
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • method

        com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> method​(String name,
                                                                                             javax.ws.rs.client.Entity<?> entity)
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • method

        <R> com.google.common.util.concurrent.ListenableFuture<R> method​(String name,
                                                                         javax.ws.rs.client.Entity<?> entity,
                                                                         Class<R> responseType)
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • method

        <R> com.google.common.util.concurrent.ListenableFuture<R> method​(String name,
                                                                         javax.ws.rs.client.Entity<?> entity,
                                                                         javax.ws.rs.core.GenericType<R> responseType)
        Specified by:
        method in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • options

        com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> options()
        Specified by:
        options in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • options

        <R> com.google.common.util.concurrent.ListenableFuture<R> options​(Class<R> responseType)
        Specified by:
        options in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • options

        <R> com.google.common.util.concurrent.ListenableFuture<R> options​(javax.ws.rs.core.GenericType<R> responseType)
        Specified by:
        options in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • post

        com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> post​(javax.ws.rs.client.Entity<?> entity)
        Specified by:
        post in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • post

        <R> com.google.common.util.concurrent.ListenableFuture<R> post​(javax.ws.rs.client.Entity<?> entity,
                                                                       Class<R> responseType)
        Specified by:
        post in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • post

        <R> com.google.common.util.concurrent.ListenableFuture<R> post​(javax.ws.rs.client.Entity<?> entity,
                                                                       javax.ws.rs.core.GenericType<R> responseType)
        Specified by:
        post in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • put

        com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> put​(javax.ws.rs.client.Entity<?> entity)
        Specified by:
        put in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • put

        <R> com.google.common.util.concurrent.ListenableFuture<R> put​(javax.ws.rs.client.Entity<?> entity,
                                                                      Class<R> responseType)
        Specified by:
        put in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • put

        <R> com.google.common.util.concurrent.ListenableFuture<R> put​(javax.ws.rs.client.Entity<?> entity,
                                                                      javax.ws.rs.core.GenericType<R> responseType)
        Specified by:
        put in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • trace

        com.google.common.util.concurrent.ListenableFuture<javax.ws.rs.core.Response> trace()
        Specified by:
        trace in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • trace

        <R> com.google.common.util.concurrent.ListenableFuture<R> trace​(Class<R> responseType)
        Specified by:
        trace in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>
      • trace

        <R> com.google.common.util.concurrent.ListenableFuture<R> trace​(javax.ws.rs.core.GenericType<R> responseType)
        Specified by:
        trace in interface javax.ws.rs.client.RxInvoker<com.google.common.util.concurrent.ListenableFuture>