public class ResteasyClientImpl extends Object implements ResteasyClient
| Modifier and Type | Field and Description |
|---|---|
protected ExecutorService |
asyncInvocationExecutor |
protected boolean |
cleanupExecutor |
protected boolean |
closed |
protected ClientConfiguration |
configuration |
protected ClientHttpEngine |
httpEngine |
protected ScheduledExecutorService |
scheduledExecutorService |
| Modifier | Constructor and Description |
|---|---|
protected |
ResteasyClientImpl(ClientHttpEngine httpEngine,
ExecutorService asyncInvocationExecutor,
boolean cleanupExecutor,
ClientConfiguration configuration) |
protected |
ResteasyClientImpl(ClientHttpEngine httpEngine,
ExecutorService asyncInvocationExecutor,
boolean cleanupExecutor,
ScheduledExecutorService scheduledExecutorService,
ClientConfiguration configuration) |
protected volatile ClientHttpEngine httpEngine
protected volatile ExecutorService asyncInvocationExecutor
protected volatile ScheduledExecutorService scheduledExecutorService
protected ClientConfiguration configuration
protected boolean closed
protected boolean cleanupExecutor
protected ResteasyClientImpl(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ScheduledExecutorService scheduledExecutorService, ClientConfiguration configuration)
protected ResteasyClientImpl(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ClientConfiguration configuration)
public ClientHttpEngine httpEngine()
httpEngine in interface ResteasyClientpublic ExecutorService asyncInvocationExecutor()
asyncInvocationExecutor in interface ResteasyClientpublic ScheduledExecutorService getScheduledExecutor()
getScheduledExecutor in interface ResteasyClientpublic void abortIfClosed()
abortIfClosed in interface ResteasyClientpublic boolean isClosed()
isClosed in interface ResteasyClientpublic void close()
close in interface javax.ws.rs.client.Clientpublic javax.ws.rs.core.Configuration getConfiguration()
getConfiguration in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public SSLContext getSslContext()
getSslContext in interface javax.ws.rs.client.Clientpublic HostnameVerifier getHostnameVerifier()
getHostnameVerifier in interface javax.ws.rs.client.Clientpublic ResteasyClientImpl property(String name, Object value)
property in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClientImpl register(Class<?> componentClass)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClientImpl register(Class<?> componentClass, int priority)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClientImpl register(Class<?> componentClass, Class<?>... contracts)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClientImpl register(Class<?> componentClass, Map<Class<?>,Integer> contracts)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClientImpl register(Object component)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClientImpl register(Object component, int priority)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClientImpl register(Object component, Class<?>... contracts)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClientImpl register(Object component, Map<Class<?>,Integer> contracts)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyWebTarget target(String uri) throws IllegalArgumentException, NullPointerException
target in interface javax.ws.rs.client.Clienttarget in interface ResteasyClientIllegalArgumentExceptionNullPointerExceptionpublic ResteasyWebTarget target(URI uri) throws NullPointerException
target in interface javax.ws.rs.client.Clienttarget in interface ResteasyClientNullPointerExceptionpublic ResteasyWebTarget target(javax.ws.rs.core.UriBuilder uriBuilder) throws NullPointerException
target in interface javax.ws.rs.client.Clienttarget in interface ResteasyClientNullPointerExceptionpublic ResteasyWebTarget target(javax.ws.rs.core.Link link) throws NullPointerException
target in interface javax.ws.rs.client.Clienttarget in interface ResteasyClientNullPointerExceptionpublic javax.ws.rs.client.Invocation.Builder invocation(javax.ws.rs.core.Link link)
throws NullPointerException,
IllegalArgumentException
invocation in interface javax.ws.rs.client.ClientNullPointerExceptionIllegalArgumentExceptionprotected ResteasyWebTarget createClientWebTarget(ResteasyClientImpl client, String uri, ClientConfiguration configuration)
protected ResteasyWebTarget createClientWebTarget(ResteasyClientImpl client, URI uri, ClientConfiguration configuration)
protected ResteasyWebTarget createClientWebTarget(ResteasyClientImpl client, javax.ws.rs.core.UriBuilder uriBuilder, ClientConfiguration configuration)
Copyright © 2020 JBoss by Red Hat. All rights reserved.