# Uses of Interface
org.eclipse.microprofile.rest.client.RestClientBuilder

Packages that use RestClientBuilder
Package
Description
org.eclipse.microprofile.rest.client
APIs for building a type-safe RESTful client leveraging existing Jakarta RESTful Web Services 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.

## Uses of RestClientBuilder in org.eclipse.microprofile.rest.client

Methods in org.eclipse.microprofile.rest.client that return RestClientBuilder
Modifier and Type
Method
Description
`default RestClientBuilder`
RestClientBuilder.`baseUri(String uri)`
Specifies the base URI to be used when making requests.
`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.`followRedirects(boolean follow)`
Specifies whether client built by this builder should follow HTTP redirect responses (30x) or not.
`RestClientBuilder`
RestClientBuilder.`header(String name, Object value)`
Add an arbitrary header.
`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.`proxyAddress(String proxyHost, int proxyPort)`
Specifies the HTTP proxy hostname/IP address and port to use for requests from client instances.
`RestClientBuilder`
RestClientBuilder.`queryParamStyle(QueryParamStyle style)`
Specifies the URI formatting style to use when multiple query parameter values are passed to the client.
`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.

## Uses of RestClientBuilder in org.eclipse.microprofile.rest.client.spi

Methods in org.eclipse.microprofile.rest.client.spi that return RestClientBuilder
Modifier and Type
Method
Description
`abstract RestClientBuilder`
RestClientBuilderResolver.`newBuilder()`
Creates a new RestClientBuilder instance.
Methods in org.eclipse.microprofile.rest.client.spi with parameters of type RestClientBuilder
Modifier and Type
Method
Description
`void`
RestClientBuilderListener.`onNewBuilder(RestClientBuilder builder)`
`void`
RestClientListener.`onNewClient(Class<?> serviceInterface, RestClientBuilder builder)`