Uses of Class
jakarta.ws.rs.client.ClientBuilder
Package | Description |
---|---|
jakarta.ws.rs.client |
The JAX-RS client API
|
-
Uses of ClientBuilder in jakarta.ws.rs.client
Methods in jakarta.ws.rs.client that return ClientBuilder Modifier and Type Method Description abstract ClientBuilder
ClientBuilder. connectTimeout(long timeout, TimeUnit unit)
Set the connect timeout.abstract ClientBuilder
ClientBuilder. executorService(ExecutorService executorService)
Set the client-sideExecutorService
.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 newClientBuilder
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-sideScheduledExecutorService
.abstract ClientBuilder
ClientBuilder. sslContext(SSLContext sslContext)
Set the SSL context that will be used when creating secured transport connections to server endpoints fromweb 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.