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

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

public class ClientResponseProxy
extends java.lang.Object
implements java.lang.reflect.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, java.util.Map<java.lang.reflect.Method,EntityExtractor<?>> methodMap, java.lang.Class<?> clazz)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 java.lang.Object invoke(java.lang.Object o, java.lang.reflect.Method method, java.lang.Object[] args)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClientResponseProxy

public ClientResponseProxy(ClientRequestContext context,
                           java.util.Map<java.lang.reflect.Method,EntityExtractor<?>> methodMap,
                           java.lang.Class<?> clazz)
Method Detail

invoke

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.