Class ResponseObjectProxy<T>
- java.lang.Object
-
- org.jboss.resteasy.client.core.extractors.ResponseObjectProxy<T>
-
- All Implemented Interfaces:
EntityExtractor
public class ResponseObjectProxy<T> extends java.lang.Object implements EntityExtractor
This class represents the proxying functionality for creating a "rich response object" that has the @ResponseObject annotation. The method implementations ware created in ResponseObjectEntityExtractorFactory- Version:
- $Revision: 1 $
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.HashMap<java.lang.reflect.Method,EntityExtractor<?>>
methodHandlers
private java.lang.Class<T>
returnType
-
Constructor Summary
Constructors Constructor Description ResponseObjectProxy(java.lang.reflect.Method method, EntityExtractorFactory extractorFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
extractEntity(ClientRequestContext context, java.lang.Object... args)
-
-
-
Field Detail
-
returnType
private java.lang.Class<T> returnType
-
methodHandlers
private java.util.HashMap<java.lang.reflect.Method,EntityExtractor<?>> methodHandlers
-
-
Constructor Detail
-
ResponseObjectProxy
public ResponseObjectProxy(java.lang.reflect.Method method, EntityExtractorFactory extractorFactory)
-
-
Method Detail
-
extractEntity
public java.lang.Object extractEntity(ClientRequestContext context, java.lang.Object... args)
- Specified by:
extractEntity
in interfaceEntityExtractor<T>
-
-