|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.engine.resource.ClientInvocationHandler<T>
T - The annotated resource interface.public class ClientInvocationHandler<T>
Reflection proxy invocation handler created for the
ClientResource.wrap(Class) and related methods.
| Constructor Summary | |
|---|---|
ClientInvocationHandler(ClientResource clientResource,
Class<? extends T> resourceInterface)
Constructor. |
|
| Method Summary | |
|---|---|
List<AnnotationInfo> |
getAnnotations()
Returns the annotations of the resource interface. |
ClientResource |
getClientResource()
Returns the associated client resource. |
Object |
invoke(Object proxy,
Method javaMethod,
Object[] args)
Effectively invokes a Java method on the given proxy object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientInvocationHandler(ClientResource clientResource,
Class<? extends T> resourceInterface)
clientResource - The associated client resource.resourceInterface - The annotated resource interface.| Method Detail |
|---|
public List<AnnotationInfo> getAnnotations()
public ClientResource getClientResource()
public Object invoke(Object proxy,
Method javaMethod,
Object[] args)
throws Throwable
invoke in interface InvocationHandlerThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||