public class SingleMethodForwardingInvocationHandler extends Object implements InvocationHandler
| Constructor and Description |
|---|
SingleMethodForwardingInvocationHandler(Object target,
Method m)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
invoke(Object proxy,
Method method,
Object[] args) |
InvocationHandler |
transformReturnValueWith(Function f)
Apply a transformation on the return value.
|
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowablepublic InvocationHandler transformReturnValueWith(Function f)
f - Transformation