Class RestClientBuilderImpl
- java.lang.Object
-
- io.quarkus.rest.client.reactive.runtime.RestClientBuilderImpl
-
- All Implemented Interfaces:
javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>,org.eclipse.microprofile.rest.client.RestClientBuilder
public class RestClientBuilderImpl extends Object implements org.eclipse.microprofile.rest.client.RestClientBuilder
Builder implementation for MicroProfile Rest Client
-
-
Constructor Summary
Constructors Constructor Description RestClientBuilderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.rest.client.RestClientBuilderbaseUri(URI uri)org.eclipse.microprofile.rest.client.RestClientBuilderbaseUrl(URL url)<T> Tbuild(Class<T> aClass)org.eclipse.microprofile.rest.client.RestClientBuilderconnectTimeout(long timeout, TimeUnit timeUnit)org.eclipse.microprofile.rest.client.RestClientBuilderexecutorService(ExecutorService executor)org.eclipse.microprofile.rest.client.RestClientBuilderfollowRedirects(boolean follow)javax.ws.rs.core.ConfigurationgetConfiguration()org.eclipse.microprofile.rest.client.RestClientBuilderhostnameVerifier(HostnameVerifier hostnameVerifier)org.eclipse.microprofile.rest.client.RestClientBuilderkeyStore(KeyStore keyStore, String keystorePassword)org.eclipse.microprofile.rest.client.RestClientBuilderproperty(String name, Object value)org.eclipse.microprofile.rest.client.RestClientBuilderproxyAddress(String proxyHost, int proxyPort)org.eclipse.microprofile.rest.client.RestClientBuilderqueryParamStyle(org.eclipse.microprofile.rest.client.ext.QueryParamStyle style)org.eclipse.microprofile.rest.client.RestClientBuilderreadTimeout(long timeout, TimeUnit timeUnit)org.eclipse.microprofile.rest.client.RestClientBuilderregister(Class<?> componentClass)org.eclipse.microprofile.rest.client.RestClientBuilderregister(Class<?> componentClass, int priority)org.eclipse.microprofile.rest.client.RestClientBuilderregister(Class<?> componentClass, Class<?>... contracts)org.eclipse.microprofile.rest.client.RestClientBuilderregister(Class<?> componentClass, Map<Class<?>,Integer> contracts)org.eclipse.microprofile.rest.client.RestClientBuilderregister(Object component)org.eclipse.microprofile.rest.client.RestClientBuilderregister(Object component, int priority)org.eclipse.microprofile.rest.client.RestClientBuilderregister(Object component, Class<?>... contracts)org.eclipse.microprofile.rest.client.RestClientBuilderregister(Object component, Map<Class<?>,Integer> contracts)org.eclipse.microprofile.rest.client.RestClientBuildersslContext(SSLContext sslContext)org.eclipse.microprofile.rest.client.RestClientBuildertrustStore(KeyStore trustStore)
-
-
-
Method Detail
-
baseUrl
public org.eclipse.microprofile.rest.client.RestClientBuilder baseUrl(URL url)
- Specified by:
baseUrlin interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
connectTimeout
public org.eclipse.microprofile.rest.client.RestClientBuilder connectTimeout(long timeout, TimeUnit timeUnit)- Specified by:
connectTimeoutin interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
readTimeout
public org.eclipse.microprofile.rest.client.RestClientBuilder readTimeout(long timeout, TimeUnit timeUnit)- Specified by:
readTimeoutin interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
sslContext
public org.eclipse.microprofile.rest.client.RestClientBuilder sslContext(SSLContext sslContext)
- Specified by:
sslContextin interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
trustStore
public org.eclipse.microprofile.rest.client.RestClientBuilder trustStore(KeyStore trustStore)
- Specified by:
trustStorein interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
keyStore
public org.eclipse.microprofile.rest.client.RestClientBuilder keyStore(KeyStore keyStore, String keystorePassword)
- Specified by:
keyStorein interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
hostnameVerifier
public org.eclipse.microprofile.rest.client.RestClientBuilder hostnameVerifier(HostnameVerifier hostnameVerifier)
- Specified by:
hostnameVerifierin interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
followRedirects
public org.eclipse.microprofile.rest.client.RestClientBuilder followRedirects(boolean follow)
- Specified by:
followRedirectsin interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
proxyAddress
public org.eclipse.microprofile.rest.client.RestClientBuilder proxyAddress(String proxyHost, int proxyPort)
- Specified by:
proxyAddressin interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
executorService
public org.eclipse.microprofile.rest.client.RestClientBuilder executorService(ExecutorService executor)
- Specified by:
executorServicein interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
getConfiguration
public javax.ws.rs.core.Configuration getConfiguration()
- Specified by:
getConfigurationin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
property
public org.eclipse.microprofile.rest.client.RestClientBuilder property(String name, Object value)
- Specified by:
propertyin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
register
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Class<?> componentClass)
- Specified by:
registerin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
register
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Class<?> componentClass, int priority)
- Specified by:
registerin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
register
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Class<?> componentClass, Class<?>... contracts)
- Specified by:
registerin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
register
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Class<?> componentClass, Map<Class<?>,Integer> contracts)
- Specified by:
registerin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
register
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Object component)
- Specified by:
registerin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
register
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Object component, int priority)
- Specified by:
registerin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
register
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Object component, Class<?>... contracts)
- Specified by:
registerin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
register
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Object component, Map<Class<?>,Integer> contracts)
- Specified by:
registerin interfacejavax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
-
baseUri
public org.eclipse.microprofile.rest.client.RestClientBuilder baseUri(URI uri)
- Specified by:
baseUriin interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
queryParamStyle
public org.eclipse.microprofile.rest.client.RestClientBuilder queryParamStyle(org.eclipse.microprofile.rest.client.ext.QueryParamStyle style)
- Specified by:
queryParamStylein interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder
-
build
public <T> T build(Class<T> aClass) throws IllegalStateException, org.eclipse.microprofile.rest.client.RestClientDefinitionException
- Specified by:
buildin interfaceorg.eclipse.microprofile.rest.client.RestClientBuilder- Throws:
IllegalStateExceptionorg.eclipse.microprofile.rest.client.RestClientDefinitionException
-
-