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 ResteasyClient
public ExecutorService asyncInvocationExecutor()
asyncInvocationExecutor
in interface ResteasyClient
public ScheduledExecutorService getScheduledExecutor()
getScheduledExecutor
in interface ResteasyClient
public void abortIfClosed()
abortIfClosed
in interface ResteasyClient
public boolean isClosed()
isClosed
in interface ResteasyClient
public void close()
close
in interface javax.ws.rs.client.Client
public 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.Client
public HostnameVerifier getHostnameVerifier()
getHostnameVerifier
in interface javax.ws.rs.client.Client
public 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.Client
target
in interface ResteasyClient
IllegalArgumentException
NullPointerException
public ResteasyWebTarget target(URI uri) throws NullPointerException
target
in interface javax.ws.rs.client.Client
target
in interface ResteasyClient
NullPointerException
public ResteasyWebTarget target(javax.ws.rs.core.UriBuilder uriBuilder) throws NullPointerException
target
in interface javax.ws.rs.client.Client
target
in interface ResteasyClient
NullPointerException
public ResteasyWebTarget target(javax.ws.rs.core.Link link) throws NullPointerException
target
in interface javax.ws.rs.client.Client
target
in interface ResteasyClient
NullPointerException
public javax.ws.rs.client.Invocation.Builder invocation(javax.ws.rs.core.Link link) throws NullPointerException, IllegalArgumentException
invocation
in interface javax.ws.rs.client.Client
NullPointerException
IllegalArgumentException
Copyright © 2019 JBoss by Red Hat. All rights reserved.