Class InvocationBuilderImpl

java.lang.Object
org.apache.cxf.jaxrs.client.spec.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
  • Constructor Summary

    Constructors
    Constructor
    Description
    InvocationBuilderImpl(WebClient webClient, jakarta.ws.rs.core.Configuration config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.ws.rs.client.Invocation.Builder
    accept(jakarta.ws.rs.core.MediaType... types)
     
    jakarta.ws.rs.client.Invocation.Builder
    accept(String... types)
     
    jakarta.ws.rs.client.Invocation.Builder
     
    jakarta.ws.rs.client.Invocation.Builder
     
    jakarta.ws.rs.client.Invocation.Builder
     
    jakarta.ws.rs.client.AsyncInvoker
     
    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
     
    jakarta.ws.rs.client.Invocation
     
    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 control)
     
    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
     
    <T> T
    delete(jakarta.ws.rs.core.GenericType<T> type)
     
    <T> T
    delete(Class<T> cls)
     
    jakarta.ws.rs.core.Response
    get()
     
    <T> T
    get(jakarta.ws.rs.core.GenericType<T> type)
     
    <T> T
    get(Class<T> cls)
     
     
    jakarta.ws.rs.core.Response
     
    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 method)
     
    jakarta.ws.rs.core.Response
    method(String method, jakarta.ws.rs.client.Entity<?> entity)
     
    <T> T
    method(String method, jakarta.ws.rs.client.Entity<?> entity, jakarta.ws.rs.core.GenericType<T> type)
     
    <T> T
    method(String method, jakarta.ws.rs.client.Entity<?> entity, Class<T> cls)
     
    <T> T
    method(String method, jakarta.ws.rs.core.GenericType<T> type)
     
    <T> T
    method(String method, Class<T> cls)
     
    jakarta.ws.rs.core.Response
     
    <T> T
    options(jakarta.ws.rs.core.GenericType<T> type)
     
    <T> T
    options(Class<T> cls)
     
    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> type)
     
    <T> T
    post(jakarta.ws.rs.client.Entity<?> entity, Class<T> cls)
     
    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> type)
     
    <T> T
    put(jakarta.ws.rs.client.Entity<?> entity, Class<T> cls)
     
    jakarta.ws.rs.client.CompletionStageRxInvoker
    rx()
     
    <T extends jakarta.ws.rs.client.RxInvoker>
    T
    rx(Class<T> rxCls)
     
    jakarta.ws.rs.core.Response
     
    <T> T
    trace(jakarta.ws.rs.core.GenericType<T> type)
     
    <T> T
    trace(Class<T> cls)
     

    Methods inherited from class java.lang.Object

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

    • InvocationBuilderImpl

      public InvocationBuilderImpl(WebClient webClient, jakarta.ws.rs.core.Configuration config)
  • Method Details

    • getWebClient

      public WebClient getWebClient()
    • 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> cls)
      Specified by:
      delete in interface jakarta.ws.rs.client.SyncInvoker
    • delete

      public <T> T delete(jakarta.ws.rs.core.GenericType<T> type)
      Specified by:
      delete in interface jakarta.ws.rs.client.SyncInvoker
    • 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> cls)
      Specified by:
      get in interface jakarta.ws.rs.client.SyncInvoker
    • get

      public <T> T get(jakarta.ws.rs.core.GenericType<T> type)
      Specified by:
      get 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
    • method

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

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

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

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

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

      public <T> T method(String method, jakarta.ws.rs.client.Entity<?> entity, jakarta.ws.rs.core.GenericType<T> type)
      Specified by:
      method 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> cls)
      Specified by:
      options in interface jakarta.ws.rs.client.SyncInvoker
    • options

      public <T> T options(jakarta.ws.rs.core.GenericType<T> type)
      Specified by:
      options 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> cls)
      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> type)
      Specified by:
      post 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> cls)
      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> type)
      Specified by:
      put 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> cls)
      Specified by:
      trace in interface jakarta.ws.rs.client.SyncInvoker
    • trace

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

      public jakarta.ws.rs.client.Invocation.Builder accept(String... types)
      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... types)
      Specified by:
      accept in interface jakarta.ws.rs.client.Invocation.Builder
    • acceptEncoding

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

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

      public jakarta.ws.rs.client.Invocation.Builder acceptLanguage(String... lang)
      Specified by:
      acceptLanguage in interface jakarta.ws.rs.client.Invocation.Builder
    • cacheControl

      public jakarta.ws.rs.client.Invocation.Builder cacheControl(jakarta.ws.rs.core.CacheControl control)
      Specified by:
      cacheControl 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
    • 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
    • async

      public jakarta.ws.rs.client.AsyncInvoker async()
      Specified by:
      async in interface jakarta.ws.rs.client.Invocation.Builder
    • 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
    • buildDelete

      public jakarta.ws.rs.client.Invocation buildDelete()
      Specified by:
      buildDelete 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
    • 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
    • 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> rxCls)
      Specified by:
      rx in interface jakarta.ws.rs.client.Invocation.Builder