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.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 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.Client
IllegalArgumentException
NullPointerException
public ResteasyWebTarget target(URI uri) throws NullPointerException
target
in interface javax.ws.rs.client.Client
NullPointerException
public ResteasyWebTarget target(javax.ws.rs.core.UriBuilder uriBuilder) throws NullPointerException
target
in interface javax.ws.rs.client.Client
NullPointerException
public ResteasyWebTarget target(javax.ws.rs.core.Link link) throws NullPointerException
target
in interface javax.ws.rs.client.Client
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 © 2018 JBoss by Red Hat. All rights reserved.