Class ResteasyClientImpl

java.lang.Object
org.jboss.resteasy.client.jaxrs.internal.ResteasyClientImpl
All Implemented Interfaces:
jakarta.ws.rs.client.Client, jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>, AutoCloseable, org.jboss.resteasy.client.jaxrs.ResteasyClient

public class ResteasyClientImpl extends Object implements org.jboss.resteasy.client.jaxrs.ResteasyClient
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • httpEngine

      protected final org.jboss.resteasy.client.jaxrs.ClientHttpEngine httpEngine
    • configuration

      protected ClientConfiguration configuration
    • closed

      protected boolean closed
    • cleanupExecutor

      protected boolean cleanupExecutor
  • Constructor Details

    • ResteasyClientImpl

      protected ResteasyClientImpl(org.jboss.resteasy.client.jaxrs.ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ScheduledExecutorService scheduledExecutorService, ClientConfiguration configuration)
    • ResteasyClientImpl

      protected ResteasyClientImpl(org.jboss.resteasy.client.jaxrs.ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, org.jboss.resteasy.concurrent.ContextualScheduledExecutorService scheduledExecutorService, ClientConfiguration configuration)
    • ResteasyClientImpl

      protected ResteasyClientImpl(org.jboss.resteasy.client.jaxrs.ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ClientConfiguration configuration)
  • Method Details

    • httpEngine

      public org.jboss.resteasy.client.jaxrs.ClientHttpEngine httpEngine()
      Specified by:
      httpEngine in interface org.jboss.resteasy.client.jaxrs.ResteasyClient
    • asyncInvocationExecutor

      public ExecutorService asyncInvocationExecutor()
      Specified by:
      asyncInvocationExecutor in interface org.jboss.resteasy.client.jaxrs.ResteasyClient
    • getScheduledExecutor

      public ScheduledExecutorService getScheduledExecutor()
      Specified by:
      getScheduledExecutor in interface org.jboss.resteasy.client.jaxrs.ResteasyClient
    • abortIfClosed

      public void abortIfClosed()
      Specified by:
      abortIfClosed in interface org.jboss.resteasy.client.jaxrs.ResteasyClient
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface org.jboss.resteasy.client.jaxrs.ResteasyClient
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface jakarta.ws.rs.client.Client
    • getConfiguration

      public jakarta.ws.rs.core.Configuration getConfiguration()
      Specified by:
      getConfiguration in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • getSslContext

      public SSLContext getSslContext()
      Specified by:
      getSslContext in interface jakarta.ws.rs.client.Client
    • getHostnameVerifier

      public HostnameVerifier getHostnameVerifier()
      Specified by:
      getHostnameVerifier in interface jakarta.ws.rs.client.Client
    • property

      public ResteasyClientImpl property(String name, Object value)
      Specified by:
      property in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • register

      public ResteasyClientImpl register(Class<?> componentClass)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • register

      public ResteasyClientImpl register(Class<?> componentClass, int priority)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • register

      public ResteasyClientImpl register(Class<?> componentClass, Class<?>... contracts)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • register

      public ResteasyClientImpl register(Class<?> componentClass, Map<Class<?>,Integer> contracts)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • register

      public ResteasyClientImpl register(Object component)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • register

      public ResteasyClientImpl register(Object component, int priority)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • register

      public ResteasyClientImpl register(Object component, Class<?>... contracts)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • register

      public ResteasyClientImpl register(Object component, Map<Class<?>,Integer> contracts)
      Specified by:
      register in interface jakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
    • target

      public org.jboss.resteasy.client.jaxrs.ResteasyWebTarget target(String uri) throws IllegalArgumentException, NullPointerException
      Specified by:
      target in interface jakarta.ws.rs.client.Client
      Specified by:
      target in interface org.jboss.resteasy.client.jaxrs.ResteasyClient
      Throws:
      IllegalArgumentException
      NullPointerException
    • target

      public org.jboss.resteasy.client.jaxrs.ResteasyWebTarget target(URI uri) throws NullPointerException
      Specified by:
      target in interface jakarta.ws.rs.client.Client
      Specified by:
      target in interface org.jboss.resteasy.client.jaxrs.ResteasyClient
      Throws:
      NullPointerException
    • target

      public org.jboss.resteasy.client.jaxrs.ResteasyWebTarget target(jakarta.ws.rs.core.UriBuilder uriBuilder) throws NullPointerException
      Specified by:
      target in interface jakarta.ws.rs.client.Client
      Specified by:
      target in interface org.jboss.resteasy.client.jaxrs.ResteasyClient
      Throws:
      NullPointerException
    • target

      public org.jboss.resteasy.client.jaxrs.ResteasyWebTarget target(jakarta.ws.rs.core.Link link) throws NullPointerException
      Specified by:
      target in interface jakarta.ws.rs.client.Client
      Specified by:
      target in interface org.jboss.resteasy.client.jaxrs.ResteasyClient
      Throws:
      NullPointerException
    • invocation

      public jakarta.ws.rs.client.Invocation.Builder invocation(jakarta.ws.rs.core.Link link) throws NullPointerException, IllegalArgumentException
      Specified by:
      invocation in interface jakarta.ws.rs.client.Client
      Throws:
      NullPointerException
      IllegalArgumentException
    • createClientWebTarget

      protected org.jboss.resteasy.client.jaxrs.ResteasyWebTarget createClientWebTarget(ResteasyClientImpl client, String uri, ClientConfiguration configuration)
    • createClientWebTarget

      protected org.jboss.resteasy.client.jaxrs.ResteasyWebTarget createClientWebTarget(ResteasyClientImpl client, URI uri, ClientConfiguration configuration)
    • createClientWebTarget

      protected org.jboss.resteasy.client.jaxrs.ResteasyWebTarget createClientWebTarget(ResteasyClientImpl client, jakarta.ws.rs.core.UriBuilder uriBuilder, ClientConfiguration configuration)