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
,ResteasyClient
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected ClientConfiguration
protected final ClientHttpEngine
-
Constructor Summary
ModifierConstructorDescriptionprotected
ResteasyClientImpl
(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ScheduledExecutorService scheduledExecutorService, ClientConfiguration configuration) protected
ResteasyClientImpl
(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ClientConfiguration configuration) protected
ResteasyClientImpl
(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ContextualScheduledExecutorService scheduledExecutorService, ClientConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
protected ResteasyWebTarget
createClientWebTarget
(ResteasyClientImpl client, jakarta.ws.rs.core.UriBuilder uriBuilder, ClientConfiguration configuration) protected ResteasyWebTarget
createClientWebTarget
(ResteasyClientImpl client, String uri, ClientConfiguration configuration) protected ResteasyWebTarget
createClientWebTarget
(ResteasyClientImpl client, URI uri, ClientConfiguration configuration) jakarta.ws.rs.core.Configuration
jakarta.ws.rs.client.Invocation.Builder
invocation
(jakarta.ws.rs.core.Link link) boolean
isClosed()
target
(jakarta.ws.rs.core.Link link) target
(jakarta.ws.rs.core.UriBuilder uriBuilder)
-
Field Details
-
httpEngine
-
configuration
-
closed
protected boolean closed -
cleanupExecutor
protected boolean cleanupExecutor
-
-
Constructor Details
-
ResteasyClientImpl
protected ResteasyClientImpl(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ScheduledExecutorService scheduledExecutorService, ClientConfiguration configuration) -
ResteasyClientImpl
protected ResteasyClientImpl(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ContextualScheduledExecutorService scheduledExecutorService, ClientConfiguration configuration) -
ResteasyClientImpl
protected ResteasyClientImpl(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ClientConfiguration configuration)
-
-
Method Details
-
httpEngine
- Specified by:
httpEngine
in interfaceResteasyClient
-
asyncInvocationExecutor
- Specified by:
asyncInvocationExecutor
in interfaceResteasyClient
-
getScheduledExecutor
- Specified by:
getScheduledExecutor
in interfaceResteasyClient
-
abortIfClosed
public void abortIfClosed()- Specified by:
abortIfClosed
in interfaceResteasyClient
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceResteasyClient
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfacejakarta.ws.rs.client.Client
-
getConfiguration
public jakarta.ws.rs.core.Configuration getConfiguration()- Specified by:
getConfiguration
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
getSslContext
- Specified by:
getSslContext
in interfacejakarta.ws.rs.client.Client
-
getHostnameVerifier
- Specified by:
getHostnameVerifier
in interfacejakarta.ws.rs.client.Client
-
property
- Specified by:
property
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
register
- Specified by:
register
in interfacejakarta.ws.rs.core.Configurable<jakarta.ws.rs.client.Client>
-
target
- Specified by:
target
in interfacejakarta.ws.rs.client.Client
- Specified by:
target
in interfaceResteasyClient
- Throws:
IllegalArgumentException
NullPointerException
-
target
- Specified by:
target
in interfacejakarta.ws.rs.client.Client
- Specified by:
target
in interfaceResteasyClient
- Throws:
NullPointerException
-
target
public ResteasyWebTarget target(jakarta.ws.rs.core.UriBuilder uriBuilder) throws NullPointerException - Specified by:
target
in interfacejakarta.ws.rs.client.Client
- Specified by:
target
in interfaceResteasyClient
- Throws:
NullPointerException
-
target
- Specified by:
target
in interfacejakarta.ws.rs.client.Client
- Specified by:
target
in interfaceResteasyClient
- Throws:
NullPointerException
-
invocation
public jakarta.ws.rs.client.Invocation.Builder invocation(jakarta.ws.rs.core.Link link) throws NullPointerException, IllegalArgumentException - Specified by:
invocation
in interfacejakarta.ws.rs.client.Client
- Throws:
NullPointerException
IllegalArgumentException
-
createClientWebTarget
protected ResteasyWebTarget createClientWebTarget(ResteasyClientImpl client, String uri, ClientConfiguration configuration) -
createClientWebTarget
protected ResteasyWebTarget createClientWebTarget(ResteasyClientImpl client, URI uri, ClientConfiguration configuration) -
createClientWebTarget
protected ResteasyWebTarget createClientWebTarget(ResteasyClientImpl client, jakarta.ws.rs.core.UriBuilder uriBuilder, ClientConfiguration configuration)
-