public class EndpointProxy
extends java.lang.Object
implements java.lang.reflect.InvocationHandler
Endpoint in one or more service interfaces, i.e. interfaces
containing JsonNotification and JsonRequest methods.| Constructor and Description |
|---|
EndpointProxy(Endpoint delegate,
java.lang.Class<?> interface_) |
EndpointProxy(Endpoint delegate,
java.util.Collection<java.lang.Class<?>> interfaces) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
getParams(java.lang.Object[] args,
org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil.MethodInfo methodInfo) |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args) |
java.lang.String |
toString() |
public EndpointProxy(Endpoint delegate, java.lang.Class<?> interface_)
public EndpointProxy(Endpoint delegate, java.util.Collection<java.lang.Class<?>> interfaces)
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwableprotected java.lang.Object getParams(java.lang.Object[] args,
org.eclipse.lsp4j.jsonrpc.services.AnnotationUtil.MethodInfo methodInfo)
public java.lang.String toString()
toString in class java.lang.Object