org.jboss.resteasy.client
Class ProxyBuilder<T>
java.lang.Object
org.jboss.resteasy.client.ProxyBuilder<T>
public class ProxyBuilder<T>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
build
public static <T> ProxyBuilder<T> build(Class<T> iface,
URI base)
build
public static <T> ProxyBuilder<T> build(Class<T> iface,
String base)
classloader
public ProxyBuilder<T> classloader(ClassLoader cl)
executor
public ProxyBuilder<T> executor(ClientExecutor exec)
providerFactory
public ProxyBuilder<T> providerFactory(ResteasyProviderFactory fact)
extractorFactory
public ProxyBuilder<T> extractorFactory(EntityExtractorFactory fact)
serverMediaType
public ProxyBuilder<T> serverMediaType(MediaType type)
- shortcut for serverProduces(type).serverConsumes(type)
serverProduces
public ProxyBuilder<T> serverProduces(MediaType type)
serverConsumes
public ProxyBuilder<T> serverConsumes(MediaType type)
requestAttributes
public ProxyBuilder<T> requestAttributes(Map<String,Object> attrs)
now
public T now()
createProxy
public static <T> T createProxy(Class<T> iface,
URI baseUri,
ProxyConfig config)
Copyright © 2012. All Rights Reserved.