public class RestClientBuilderImpl extends Object implements org.eclipse.microprofile.rest.client.RestClientBuilder
Modifier and Type | Field and Description |
---|---|
static ClientHeadersRequestFilter |
HEADERS_REQUEST_FILTER |
static MethodInjectionFilter |
METHOD_INJECTION_FILTER |
Constructor and Description |
---|
RestClientBuilderImpl() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.microprofile.rest.client.RestClientBuilder |
baseUri(URI uri) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
baseUrl(URL url) |
<T> T |
build(Class<T> aClass) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
connectTimeout(long l,
TimeUnit timeUnit) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
executorService(ExecutorService executor) |
javax.ws.rs.core.Configuration |
getConfiguration() |
javax.ws.rs.core.Configuration |
getConfigurationWrapper() |
Set<Object> |
getLocalProviderInstances() |
org.eclipse.microprofile.rest.client.RestClientBuilder |
hostnameVerifier(HostnameVerifier hostnameVerifier) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
keyStore(KeyStore keyStore,
String keystorePassword) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
property(String name,
Object value) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
readTimeout(long time,
TimeUnit timeUnit) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
register(Class<?> aClass) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
register(Class<?> aClass,
Class<?>[] classes) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
register(Class<?> aClass,
int i) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
register(Class<?> aClass,
Map<Class<?>,Integer> map) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
register(Object o) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
register(Object o,
Class<?>[] classes) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
register(Object o,
int i) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
register(Object o,
Map<Class<?>,Integer> map) |
void |
registerLocalProviderInstance(Object provider,
Map<Class<?>,Integer> contracts) |
static void |
setProviderFactory(ResteasyProviderFactory providerFactory) |
static void |
setSslEnabled(boolean enabled) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
sslContext(SSLContext sslContext) |
org.eclipse.microprofile.rest.client.RestClientBuilder |
trustStore(KeyStore trustStore) |
public static final MethodInjectionFilter METHOD_INJECTION_FILTER
public static final ClientHeadersRequestFilter HEADERS_REQUEST_FILTER
public static void setSslEnabled(boolean enabled)
public static void setProviderFactory(ResteasyProviderFactory providerFactory)
public javax.ws.rs.core.Configuration getConfigurationWrapper()
public org.eclipse.microprofile.rest.client.RestClientBuilder baseUrl(URL url)
baseUrl
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
public org.eclipse.microprofile.rest.client.RestClientBuilder baseUri(URI uri)
baseUri
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
public org.eclipse.microprofile.rest.client.RestClientBuilder connectTimeout(long l, TimeUnit timeUnit)
connectTimeout
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
public org.eclipse.microprofile.rest.client.RestClientBuilder readTimeout(long time, TimeUnit timeUnit)
readTimeout
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
public org.eclipse.microprofile.rest.client.RestClientBuilder sslContext(SSLContext sslContext)
sslContext
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
public org.eclipse.microprofile.rest.client.RestClientBuilder trustStore(KeyStore trustStore)
trustStore
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
public org.eclipse.microprofile.rest.client.RestClientBuilder keyStore(KeyStore keyStore, String keystorePassword)
keyStore
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
public org.eclipse.microprofile.rest.client.RestClientBuilder hostnameVerifier(HostnameVerifier hostnameVerifier)
hostnameVerifier
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
public org.eclipse.microprofile.rest.client.RestClientBuilder executorService(ExecutorService executor)
executorService
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
public <T> T build(Class<T> aClass) throws IllegalStateException, org.eclipse.microprofile.rest.client.RestClientDefinitionException
build
in interface org.eclipse.microprofile.rest.client.RestClientBuilder
IllegalStateException
org.eclipse.microprofile.rest.client.RestClientDefinitionException
public javax.ws.rs.core.Configuration getConfiguration()
getConfiguration
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
public org.eclipse.microprofile.rest.client.RestClientBuilder property(String name, Object value)
property
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Class<?> aClass)
register
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Class<?> aClass, int i)
register
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Class<?> aClass, Class<?>[] classes)
register
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Class<?> aClass, Map<Class<?>,Integer> map)
register
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Object o)
register
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Object o, int i)
register
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Object o, Class<?>[] classes)
register
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
public org.eclipse.microprofile.rest.client.RestClientBuilder register(Object o, Map<Class<?>,Integer> map)
register
in interface javax.ws.rs.core.Configurable<org.eclipse.microprofile.rest.client.RestClientBuilder>
Copyright © 2019 JBoss by Red Hat. All rights reserved.