public class ResteasyClient extends Object implements javax.ws.rs.client.Client
| 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 |
ResteasyClient(ClientHttpEngine httpEngine,
ExecutorService asyncInvocationExecutor,
boolean cleanupExecutor,
ClientConfiguration configuration) |
protected |
ResteasyClient(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 ResteasyClient(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ScheduledExecutorService scheduledExecutorService, ClientConfiguration configuration)
protected ResteasyClient(ClientHttpEngine httpEngine, ExecutorService asyncInvocationExecutor, boolean cleanupExecutor, ClientConfiguration configuration)
public ClientHttpEngine httpEngine()
public ExecutorService asyncInvocationExecutor()
public ScheduledExecutorService getScheduledExecutor()
public void abortIfClosed()
public boolean isClosed()
public 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 ResteasyClient property(String name, Object value)
property in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClient register(Class<?> componentClass)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClient register(Class<?> componentClass, int priority)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClient register(Class<?> componentClass, Class<?>... contracts)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClient register(Class<?> componentClass, Map<Class<?>,Integer> contracts)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClient register(Object component)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClient register(Object component, int priority)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClient register(Object component, Class<?>... contracts)
register in interface javax.ws.rs.core.Configurable<javax.ws.rs.client.Client>public ResteasyClient 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.ClientIllegalArgumentExceptionNullPointerExceptionpublic ResteasyWebTarget target(URI uri) throws NullPointerException
target in interface javax.ws.rs.client.ClientNullPointerExceptionpublic ResteasyWebTarget target(javax.ws.rs.core.UriBuilder uriBuilder) throws NullPointerException
target in interface javax.ws.rs.client.ClientNullPointerExceptionpublic ResteasyWebTarget target(javax.ws.rs.core.Link link) throws NullPointerException
target in interface javax.ws.rs.client.ClientNullPointerExceptionpublic javax.ws.rs.client.Invocation.Builder invocation(javax.ws.rs.core.Link link)
throws NullPointerException,
IllegalArgumentException
invocation in interface javax.ws.rs.client.ClientNullPointerExceptionIllegalArgumentExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.