Package | Description |
---|---|
javax.ws.rs.client |
The JAX-RS client API
|
Modifier and Type | Method and Description |
---|---|
abstract ClientBuilder |
ClientBuilder.connectTimeout(long timeout,
TimeUnit unit)
Set the connect timeout.
|
abstract ClientBuilder |
ClientBuilder.executorService(ExecutorService executorService)
Set the client-side
ExecutorService . |
abstract ClientBuilder |
ClientBuilder.hostnameVerifier(HostnameVerifier verifier)
Set the hostname verifier to be used by the client to verify the endpoint's hostname against it's
identification information.
|
abstract ClientBuilder |
ClientBuilder.keyStore(KeyStore keyStore,
char[] password)
Set the client-side key store.
|
ClientBuilder |
ClientBuilder.keyStore(KeyStore keyStore,
String password)
Set the client-side key store.
|
static ClientBuilder |
ClientBuilder.newBuilder()
Create a new
ClientBuilder instance using the default client builder
implementation class provided by the JAX-RS implementation provider. |
abstract ClientBuilder |
ClientBuilder.readTimeout(long timeout,
TimeUnit unit)
Set the read timeout.
|
abstract ClientBuilder |
ClientBuilder.scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Set the client-side
ScheduledExecutorService . |
abstract ClientBuilder |
ClientBuilder.sslContext(SSLContext sslContext)
Set the SSL context that will be used when creating secured transport connections
to server endpoints from
web targets created by the client
instance that is using this SSL context. |
abstract ClientBuilder |
ClientBuilder.trustStore(KeyStore trustStore)
Set the client-side trust store.
|
abstract ClientBuilder |
ClientBuilder.withConfig(Configuration config)
Set the internal configuration state to an externally provided configuration state.
|
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.