public class ProxyBuilder<T> extends Object
Modifier and Type | Method and Description |
---|---|
static <T> ProxyBuilder<T> |
build(Class<T> iface,
String base) |
static <T> ProxyBuilder<T> |
build(Class<T> iface,
URI base) |
ProxyBuilder<T> |
classloader(ClassLoader cl) |
static <T> T |
createProxy(Class<T> iface,
URI baseUri,
ProxyConfig config) |
ProxyBuilder<T> |
executor(ClientExecutor exec) |
ProxyBuilder<T> |
extractorFactory(EntityExtractorFactory fact) |
T |
now() |
ProxyBuilder<T> |
providerFactory(ResteasyProviderFactory fact) |
ProxyBuilder<T> |
requestAttributes(Map<String,Object> attrs) |
ProxyBuilder<T> |
serverConsumes(MediaType type) |
ProxyBuilder<T> |
serverMediaType(MediaType type)
shortcut for serverProduces(type).serverConsumes(type)
|
ProxyBuilder<T> |
serverProduces(MediaType type) |
public static <T> ProxyBuilder<T> build(Class<T> iface, URI base)
public static <T> ProxyBuilder<T> build(Class<T> iface, String base)
public ProxyBuilder<T> classloader(ClassLoader cl)
public ProxyBuilder<T> executor(ClientExecutor exec)
public ProxyBuilder<T> providerFactory(ResteasyProviderFactory fact)
public ProxyBuilder<T> extractorFactory(EntityExtractorFactory fact)
public ProxyBuilder<T> serverMediaType(MediaType type)
public ProxyBuilder<T> serverProduces(MediaType type)
public ProxyBuilder<T> serverConsumes(MediaType type)
public ProxyBuilder<T> requestAttributes(Map<String,Object> attrs)
public T now()
public static <T> T createProxy(Class<T> iface, URI baseUri, ProxyConfig config)
Copyright © 2018 JBoss by Red Hat. All rights reserved.