Class ForwardingInvocationBuilder

  • All Implemented Interfaces:
    javax.ws.rs.client.Invocation.Builder, javax.ws.rs.client.SyncInvoker
    Direct Known Subclasses:
    WrappedInvocationBuilder

    public abstract class ForwardingInvocationBuilder
    extends Object
    implements javax.ws.rs.client.Invocation.Builder
    • Constructor Detail

      • ForwardingInvocationBuilder

        public ForwardingInvocationBuilder()
    • Method Detail

      • delegate

        public abstract javax.ws.rs.client.Invocation.Builder delegate()
      • build

        public javax.ws.rs.client.Invocation build​(String method)
        Specified by:
        build in interface javax.ws.rs.client.Invocation.Builder
      • build

        public javax.ws.rs.client.Invocation build​(String method,
                                                   javax.ws.rs.client.Entity<?> entity)
        Specified by:
        build in interface javax.ws.rs.client.Invocation.Builder
      • buildGet

        public javax.ws.rs.client.Invocation buildGet()
        Specified by:
        buildGet in interface javax.ws.rs.client.Invocation.Builder
      • buildDelete

        public javax.ws.rs.client.Invocation buildDelete()
        Specified by:
        buildDelete in interface javax.ws.rs.client.Invocation.Builder
      • buildPost

        public javax.ws.rs.client.Invocation buildPost​(javax.ws.rs.client.Entity<?> entity)
        Specified by:
        buildPost in interface javax.ws.rs.client.Invocation.Builder
      • buildPut

        public javax.ws.rs.client.Invocation buildPut​(javax.ws.rs.client.Entity<?> entity)
        Specified by:
        buildPut in interface javax.ws.rs.client.Invocation.Builder
      • async

        public javax.ws.rs.client.AsyncInvoker async()
        Specified by:
        async in interface javax.ws.rs.client.Invocation.Builder
      • accept

        public ForwardingInvocationBuilder accept​(javax.ws.rs.core.MediaType... mediaTypes)
        Specified by:
        accept in interface javax.ws.rs.client.Invocation.Builder
      • acceptLanguage

        public ForwardingInvocationBuilder acceptLanguage​(Locale... locales)
        Specified by:
        acceptLanguage in interface javax.ws.rs.client.Invocation.Builder
      • acceptLanguage

        public ForwardingInvocationBuilder acceptLanguage​(String... locales)
        Specified by:
        acceptLanguage in interface javax.ws.rs.client.Invocation.Builder
      • acceptEncoding

        public ForwardingInvocationBuilder acceptEncoding​(String... encodings)
        Specified by:
        acceptEncoding in interface javax.ws.rs.client.Invocation.Builder
      • cookie

        public ForwardingInvocationBuilder cookie​(javax.ws.rs.core.Cookie cookie)
        Specified by:
        cookie in interface javax.ws.rs.client.Invocation.Builder
      • cacheControl

        public ForwardingInvocationBuilder cacheControl​(javax.ws.rs.core.CacheControl cacheControl)
        Specified by:
        cacheControl in interface javax.ws.rs.client.Invocation.Builder
      • get

        public javax.ws.rs.core.Response get()
        Specified by:
        get in interface javax.ws.rs.client.SyncInvoker
      • get

        public <T> T get​(Class<T> responseType)
        Specified by:
        get in interface javax.ws.rs.client.SyncInvoker
      • get

        public <T> T get​(javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        get in interface javax.ws.rs.client.SyncInvoker
      • put

        public javax.ws.rs.core.Response put​(javax.ws.rs.client.Entity<?> entity)
        Specified by:
        put in interface javax.ws.rs.client.SyncInvoker
      • put

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

        public <T> T put​(javax.ws.rs.client.Entity<?> entity,
                         javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        put in interface javax.ws.rs.client.SyncInvoker
      • post

        public javax.ws.rs.core.Response post​(javax.ws.rs.client.Entity<?> entity)
        Specified by:
        post in interface javax.ws.rs.client.SyncInvoker
      • post

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

        public <T> T post​(javax.ws.rs.client.Entity<?> entity,
                          javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        post in interface javax.ws.rs.client.SyncInvoker
      • delete

        public javax.ws.rs.core.Response delete()
        Specified by:
        delete in interface javax.ws.rs.client.SyncInvoker
      • delete

        public <T> T delete​(Class<T> responseType)
        Specified by:
        delete in interface javax.ws.rs.client.SyncInvoker
      • delete

        public <T> T delete​(javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        delete in interface javax.ws.rs.client.SyncInvoker
      • head

        public javax.ws.rs.core.Response head()
        Specified by:
        head in interface javax.ws.rs.client.SyncInvoker
      • options

        public javax.ws.rs.core.Response options()
        Specified by:
        options in interface javax.ws.rs.client.SyncInvoker
      • options

        public <T> T options​(Class<T> responseType)
        Specified by:
        options in interface javax.ws.rs.client.SyncInvoker
      • options

        public <T> T options​(javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        options in interface javax.ws.rs.client.SyncInvoker
      • trace

        public javax.ws.rs.core.Response trace()
        Specified by:
        trace in interface javax.ws.rs.client.SyncInvoker
      • trace

        public <T> T trace​(Class<T> responseType)
        Specified by:
        trace in interface javax.ws.rs.client.SyncInvoker
      • trace

        public <T> T trace​(javax.ws.rs.core.GenericType<T> responseType)
        Specified by:
        trace in interface javax.ws.rs.client.SyncInvoker
      • method

        public javax.ws.rs.core.Response method​(String name)
        Specified by:
        method in interface javax.ws.rs.client.SyncInvoker
      • method

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

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

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

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

        public <T> 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.SyncInvoker
      • rx

        public javax.ws.rs.client.CompletionStageRxInvoker rx()
        Specified by:
        rx in interface javax.ws.rs.client.Invocation.Builder
      • rx

        public <T extends javax.ws.rs.client.RxInvoker> T rx​(Class<T> aClass)
        Specified by:
        rx in interface javax.ws.rs.client.Invocation.Builder