org.jboss.resteasy.client.core.extractors
Class ClientResponseProxy

java.lang.Object
  extended by org.jboss.resteasy.client.core.extractors.ClientResponseProxy
All Implemented Interfaces:
InvocationHandler

public class ClientResponseProxy
extends Object
implements InvocationHandler

Implement a client proxy for ProxyFactory. This class implements each method using an EntityExtractor

Version:
$Revision: 1 $
Author:
Solomon Duskis
See Also:
ProxyFactory, EntityExtractor, EntityExtractorFactory, ResponseObjectEntityExtractorFactory

Constructor Summary
ClientResponseProxy(ClientRequestContext context, Map<Method,EntityExtractor<?>> methodMap, Class<?> clazz)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 Object invoke(Object o, Method method, Object[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientResponseProxy

public ClientResponseProxy(ClientRequestContext context,
                           Map<Method,EntityExtractor<?>> methodMap,
                           Class<?> clazz)
Method Detail

invoke

public Object invoke(Object o,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.