public class ProxyBuilder<T> extends Object
Modifier and Type | Method and Description |
---|---|
T |
build() |
static <T> ProxyBuilder<T> |
builder(Class<T> iface,
WebTarget webTarget) |
ProxyBuilder<T> |
classloader(ClassLoader cl) |
ProxyBuilder<T> |
defaultConsumes(MediaType type) |
ProxyBuilder<T> |
defaultConsumes(String type) |
ProxyBuilder<T> |
defaultProduces(MediaType type) |
ProxyBuilder<T> |
defaultProduces(String type) |
static <T> T |
proxy(Class<T> iface,
WebTarget base,
ProxyConfig config) |
public static <T> ProxyBuilder<T> builder(Class<T> iface, WebTarget webTarget)
public static <T> T proxy(Class<T> iface, WebTarget base, ProxyConfig config)
public ProxyBuilder<T> classloader(ClassLoader cl)
public ProxyBuilder<T> defaultProduces(MediaType type)
public ProxyBuilder<T> defaultConsumes(MediaType type)
public ProxyBuilder<T> defaultProduces(String type)
public ProxyBuilder<T> defaultConsumes(String type)
public T build()
Copyright © 2013. All Rights Reserved.