public class HessianClientDecorator extends Object implements HessianClient
Constructor and Description |
---|
HessianClientDecorator(HessianClient delegate) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
geProxyClassNames() |
protected HessianClient |
getDelegate() |
Map<String,Object> |
getProxies() |
<T,R> R |
proxy(Class<T> proxyClass,
UnaryConsumer<T,R> consumer) |
void |
removeProxy(String proxyClassName) |
public HessianClientDecorator(@Nonnull HessianClient delegate)
@Nonnull protected HessianClient getDelegate()
public <T,R> R proxy(@Nonnull Class<T> proxyClass, @Nonnull UnaryConsumer<T,R> consumer)
proxy
in interface HessianClient
public void removeProxy(@Nonnull String proxyClassName)
removeProxy
in interface HessianClient
@Nonnull public Set<String> geProxyClassNames()
geProxyClassNames
in interface HessianClient
@Nonnull public Map<String,Object> getProxies()
getProxies
in interface HessianClient