Class InvocationBuilderImpl

  • All Implemented Interfaces:
    jakarta.ws.rs.client.Invocation.Builder, jakarta.ws.rs.client.SyncInvoker

    public class InvocationBuilderImpl
    extends Object
    implements jakarta.ws.rs.client.Invocation.Builder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      jakarta.ws.rs.client.Invocation.Builder accept​(jakarta.ws.rs.core.MediaType... mediaTypes)  
      jakarta.ws.rs.client.Invocation.Builder accept​(String... mediaTypes)  
      jakarta.ws.rs.client.Invocation.Builder acceptEncoding​(String... encodings)  
      jakarta.ws.rs.client.Invocation.Builder acceptLanguage​(String... locales)  
      jakarta.ws.rs.client.Invocation.Builder acceptLanguage​(Locale... locales)  
      AsyncInvokerImpl async()  
      jakarta.ws.rs.client.Invocation build​(String method)  
      jakarta.ws.rs.client.Invocation build​(String method, jakarta.ws.rs.client.Entity<?> entity)  
      jakarta.ws.rs.client.Invocation buildDelete()  
      jakarta.ws.rs.client.Invocation buildGet()  
      jakarta.ws.rs.client.Invocation buildPost​(jakarta.ws.rs.client.Entity<?> entity)  
      jakarta.ws.rs.client.Invocation buildPut​(jakarta.ws.rs.client.Entity<?> entity)  
      jakarta.ws.rs.client.Invocation.Builder cacheControl​(jakarta.ws.rs.core.CacheControl cacheControl)  
      jakarta.ws.rs.client.Invocation.Builder cookie​(jakarta.ws.rs.core.Cookie cookie)  
      jakarta.ws.rs.client.Invocation.Builder cookie​(String name, String value)  
      jakarta.ws.rs.core.Response delete()  
      <T> T delete​(jakarta.ws.rs.core.GenericType<T> responseType)  
      <T> T delete​(Class<T> responseType)  
      jakarta.ws.rs.core.Response get()  
      <T> T get​(jakarta.ws.rs.core.GenericType<T> responseType)  
      <T> T get​(Class<T> responseType)  
      boolean getChunked()  
      ClientRequestHeaders getHeaders()  
      WebTargetImpl getTarget()  
      jakarta.ws.rs.core.Response head()  
      jakarta.ws.rs.client.Invocation.Builder header​(String name, Object value)  
      jakarta.ws.rs.client.Invocation.Builder headers​(jakarta.ws.rs.core.MultivaluedMap<String,​Object> headers)  
      jakarta.ws.rs.core.Response method​(String name)  
      jakarta.ws.rs.core.Response method​(String name, jakarta.ws.rs.client.Entity<?> entity)  
      <T> T method​(String name, jakarta.ws.rs.client.Entity<?> entity, jakarta.ws.rs.core.GenericType<T> responseType)  
      <T> T method​(String name, jakarta.ws.rs.client.Entity<?> entity, Class<T> responseType)  
      <T> T method​(String name, jakarta.ws.rs.core.GenericType<T> responseType)  
      <T> T method​(String name, Class<T> responseType)  
      jakarta.ws.rs.core.Response options()  
      <T> T options​(jakarta.ws.rs.core.GenericType<T> responseType)  
      <T> T options​(Class<T> responseType)  
      jakarta.ws.rs.core.Response post​(jakarta.ws.rs.client.Entity<?> entity)  
      <T> T post​(jakarta.ws.rs.client.Entity<?> entity, jakarta.ws.rs.core.GenericType<T> responseType)  
      <T> T post​(jakarta.ws.rs.client.Entity<?> entity, Class<T> responseType)  
      jakarta.ws.rs.client.Invocation.Builder property​(String name, Object value)  
      jakarta.ws.rs.core.Response put​(jakarta.ws.rs.client.Entity<?> entity)  
      <T> T put​(jakarta.ws.rs.client.Entity<?> entity, jakarta.ws.rs.core.GenericType<T> responseType)  
      <T> T put​(jakarta.ws.rs.client.Entity<?> entity, Class<T> responseType)  
      jakarta.ws.rs.client.CompletionStageRxInvoker rx()  
      <T extends jakarta.ws.rs.client.RxInvoker>
      T
      rx​(Class<T> clazz)  
      void setChunked​(boolean chunked)  
      jakarta.ws.rs.core.Response trace()  
      <T> T trace​(jakarta.ws.rs.core.GenericType<T> responseType)  
      <T> T trace​(Class<T> responseType)  
    • Constructor Detail

    • Method Detail

      • build

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

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

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

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

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

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

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

        public jakarta.ws.rs.client.Invocation.Builder accept​(String... mediaTypes)
        Specified by:
        accept in interface jakarta.ws.rs.client.Invocation.Builder
      • accept

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

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

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

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

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

        public jakarta.ws.rs.client.Invocation.Builder cookie​(String name,
                                                              String value)
        Specified by:
        cookie in interface jakarta.ws.rs.client.Invocation.Builder
      • cacheControl

        public jakarta.ws.rs.client.Invocation.Builder cacheControl​(jakarta.ws.rs.core.CacheControl cacheControl)
        Specified by:
        cacheControl in interface jakarta.ws.rs.client.Invocation.Builder
      • header

        public jakarta.ws.rs.client.Invocation.Builder header​(String name,
                                                              Object value)
        Specified by:
        header in interface jakarta.ws.rs.client.Invocation.Builder
      • headers

        public jakarta.ws.rs.client.Invocation.Builder headers​(jakarta.ws.rs.core.MultivaluedMap<String,​Object> headers)
        Specified by:
        headers in interface jakarta.ws.rs.client.Invocation.Builder
      • property

        public jakarta.ws.rs.client.Invocation.Builder property​(String name,
                                                                Object value)
        Specified by:
        property in interface jakarta.ws.rs.client.Invocation.Builder
      • rx

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

        public <T extends jakarta.ws.rs.client.RxInvoker> T rx​(Class<T> clazz)
        Specified by:
        rx in interface jakarta.ws.rs.client.Invocation.Builder
      • get

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public void setChunked​(boolean chunked)
      • getChunked

        public boolean getChunked()