public abstract class ProxyBuilder<T> extends Object
Constructor and Description |
---|
ProxyBuilder() |
Modifier and Type | Method and Description |
---|---|
abstract T |
build() |
abstract T |
build(ProxyConfig config) |
static <T> ProxyBuilder<T> |
builder(Class<T> iface,
javax.ws.rs.client.WebTarget webTarget) |
abstract ProxyBuilder<T> |
classloader(ClassLoader cl) |
abstract ProxyBuilder<T> |
defaultConsumes(javax.ws.rs.core.MediaType type) |
abstract ProxyBuilder<T> |
defaultConsumes(String type) |
abstract ProxyBuilder<T> |
defaultProduces(javax.ws.rs.core.MediaType type) |
abstract ProxyBuilder<T> |
defaultProduces(String type) |
static <T> T |
proxy(Class<T> iface,
javax.ws.rs.client.WebTarget base,
ProxyConfig config) |
public static <T> ProxyBuilder<T> builder(Class<T> iface, javax.ws.rs.client.WebTarget webTarget)
public static <T> T proxy(Class<T> iface, javax.ws.rs.client.WebTarget base, ProxyConfig config)
public abstract ProxyBuilder<T> classloader(ClassLoader cl)
public abstract ProxyBuilder<T> defaultProduces(javax.ws.rs.core.MediaType type)
public abstract ProxyBuilder<T> defaultConsumes(javax.ws.rs.core.MediaType type)
public abstract ProxyBuilder<T> defaultProduces(String type)
public abstract ProxyBuilder<T> defaultConsumes(String type)
public abstract T build(ProxyConfig config)
public abstract T build()
Copyright © 2020 JBoss by Red Hat. All rights reserved.