Class MicroProfileClientFactoryBean

java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.endpoint.AbstractEndpointFactory
org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean
org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean
org.apache.cxf.microprofile.client.MicroProfileClientFactoryBean
All Implemented Interfaces:
org.apache.cxf.interceptor.InterceptorProvider

public class MicroProfileClientFactoryBean extends org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean
  • Field Summary

    Fields inherited from class org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean

    headers, initialState, LOG, password, serviceClass, threadSafe, timeToKeepState, username

    Fields inherited from class org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean

    entityProviders, schemaLocations, serviceFactory

    Fields inherited from class org.apache.cxf.endpoint.AbstractEndpointFactory

    address, bindingConfig, bindingFactory, bindingId, bus, conduitSelector, dataBinding, destinationFactory, endpointName, endpointReference, features, properties, publishedEndpointUrl, serviceName, transportId
  • Constructor Summary

    Constructors
    Constructor
    Description
    MicroProfileClientFactoryBean(MicroProfileClientConfigurableImpl<org.eclipse.microprofile.rest.client.RestClientBuilder> configurable, String baseUri, Class<?> aClass, ExecutorService executorService, org.apache.cxf.jaxrs.client.spec.TLSConfiguration secConfig)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.cxf.jaxrs.client.ClientProxyImpl
    createClientProxy(org.apache.cxf.jaxrs.model.ClassResourceInfo cri, boolean isRoot, org.apache.cxf.jaxrs.client.ClientState actualState, Object[] varValues)
     
    protected <C extends jakarta.ws.rs.core.Configurable<C>>
    jakarta.ws.rs.core.Configurable<?>
    getConfigurableFor(C context)
     
     
    protected void
    initClient(org.apache.cxf.jaxrs.client.AbstractClient client, org.apache.cxf.endpoint.Endpoint ep, boolean addHeaders)
     
    void
     
    void
    setInheritHeaders(boolean inheritHeaders)
     

    Methods inherited from class org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean

    applyFeatures, create, create, createWebClient, createWithValues, getActualState, getConduitSelector, getHeaders, getPassword, getServiceClass, getUsername, notifyLifecycleManager, setHeaders, setInitialState, setPassword, setResourceClass, setSecondsToKeepState, setServiceClass, setThreadSafe, setUsername

    Methods inherited from class org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean

    checkResources, createBindingInfo, createEndpoint, createEndpointInfo, getBus, getProviders, getServiceFactory, isValidClassResourceInfo, setBus, setDataBindingProvider, setModelBeans, setModelBeans, setModelBeansWithServiceClass, setModelRef, setModelRefWithServiceClass, setProvider, setProviderComparator, setProviders, setSchemaLocation, setSchemaLocations, setServiceFactory, setServiceName, setupFactory

    Methods inherited from class org.apache.cxf.endpoint.AbstractEndpointFactory

    addToBeans, checkPrivateEndpoint, getAddress, getBindingConfig, getBindingFactory, getBindingId, getBus, getConduitSelector, getDataBinding, getDestinationFactory, getEndpointName, getFeatures, getProperties, getProperties, getPublishedEndpointUrl, getServiceName, getTransportId, initializeAnnotationInterceptors, initializeAnnotationInterceptors, initializeAnnotationInterceptors, setAddress, setBindingConfig, setBindingFactory, setBindingId, setConduitSelector, setDataBinding, setDestinationFactory, setEndpointName, setEndpointReference, setFeatures, setProperties, setPublishedEndpointUrl, setTransportId

    Methods inherited from class org.apache.cxf.interceptor.AbstractBasicInterceptorProvider

    getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors

    Methods inherited from class java.lang.Object

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

    • MicroProfileClientFactoryBean

      public MicroProfileClientFactoryBean(MicroProfileClientConfigurableImpl<org.eclipse.microprofile.rest.client.RestClientBuilder> configurable, String baseUri, Class<?> aClass, ExecutorService executorService, org.apache.cxf.jaxrs.client.spec.TLSConfiguration secConfig)
  • Method Details

    • setClassLoader

      public void setClassLoader(ClassLoader loader)
      Overrides:
      setClassLoader in class org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean
    • setInheritHeaders

      public void setInheritHeaders(boolean inheritHeaders)
      Overrides:
      setInheritHeaders in class org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean
    • getExecutorService

      public ExecutorService getExecutorService()
    • initClient

      protected void initClient(org.apache.cxf.jaxrs.client.AbstractClient client, org.apache.cxf.endpoint.Endpoint ep, boolean addHeaders)
      Overrides:
      initClient in class org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean
    • createClientProxy

      protected org.apache.cxf.jaxrs.client.ClientProxyImpl createClientProxy(org.apache.cxf.jaxrs.model.ClassResourceInfo cri, boolean isRoot, org.apache.cxf.jaxrs.client.ClientState actualState, Object[] varValues)
      Overrides:
      createClientProxy in class org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean
    • getConfigurableFor

      protected <C extends jakarta.ws.rs.core.Configurable<C>> jakarta.ws.rs.core.Configurable<?> getConfigurableFor(C context)
      Overrides:
      getConfigurableFor in class org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean