| 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. |
static RestClientBuilder |
RestClientBuilder.newBuilder() |
RestClientBuilder |
RestClientBuilder.readTimeout(long timeout,
TimeUnit unit)
Set the read timeout.
|
| 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.