Package | Description |
---|---|
org.eclipse.microprofile.rest.client |
APIs for building a type-safe RESTful client leveraging existing JAX-RS
APIs, for example:
|
org.eclipse.microprofile.rest.client.spi |
SPIs for MP Rest Client implementations or system-level components that
provide additional functionality for MP Rest Clients.
|
Modifier and Type | Method and Description |
---|---|
default RestClientBuilder |
RestClientBuilder.baseUri(URI uri)
Specifies the base URI to be used when making requests.
|
RestClientBuilder |
RestClientBuilder.baseUrl(URL url)
Specifies the base URL to be used when making requests.
|
RestClientBuilder |
RestClientBuilder.connectTimeout(long timeout,
TimeUnit unit)
Set the connect timeout.
|
RestClientBuilder |
RestClientBuilder.executorService(ExecutorService executor)
Specifies the
ExecutorService to use when invoking
asynchronous Rest Client interface methods. |
RestClientBuilder |
RestClientBuilder.hostnameVerifier(HostnameVerifier hostnameVerifier)
Set the hostname verifier to verify the endpoint's hostname
|
RestClientBuilder |
RestClientBuilder.keyStore(KeyStore keyStore,
String keystorePassword)
Set the client-side key store.
|
static RestClientBuilder |
RestClientBuilder.newBuilder() |
RestClientBuilder |
RestClientBuilder.readTimeout(long timeout,
TimeUnit unit)
Set the read timeout.
|
RestClientBuilder |
RestClientBuilder.sslContext(SSLContext sslContext)
Specifies the SSL context to use when creating secured transport connections to server endpoints
from web targets created by the client instance that is using this SSL context.
|
RestClientBuilder |
RestClientBuilder.trustStore(KeyStore trustStore)
Set the client-side trust store.
|
Modifier and Type | Method and Description |
---|---|
abstract RestClientBuilder |
RestClientBuilderResolver.newBuilder()
Creates a new RestClientBuilder instance.
|
Modifier and Type | Method and Description |
---|---|
void |
RestClientBuilderListener.onNewBuilder(RestClientBuilder builder) |
void |
RestClientListener.onNewClient(Class<?> serviceInterface,
RestClientBuilder builder) |
Copyright © 2019 Eclipse Foundation. All rights reserved.