This topic has not yet been written. The content below is from the topic description.
If you are interested in everything, you can get it with the org.jboss.resteasy.spi.ClientResponse interface: /** * Response extension for the RESTEasy client framework. Use this, or Response * in your client proxy interface method return type declarations if you want * access to the response entity as well as status and header information. * * @author Bill Burke * @version $Revision: 1 $ */ public abstract class ClientResponse extends Response { /** * This method returns the same exact map as Response.getMetadata() except as a map of strings * rather than objects. * * @return */ public abstract MultivaluedMap getHeaders(); public abstract Response.Status getResponseStatus(); /** * Unmarshal the target entity from the response OutputStream. You must have type information * set via otherwise, this will not work. * * This method actually does the reading on the OutputStream. It will only do the read once. * Afterwards, it will cache the result and return the cached result. * * @return */ public abstract T getEntity(); /** * Extract the response body with the provided type information * * This method actually does the reading on the OutputStream. It will only do the read once. * Afterwards, it will cache the result and return the cached result. * * @param type * @param genericType * @param * @return */ public abstract T2 getEntity(Class type, Type genericType); /** * Extract the response body with the provided type information. GenericType is a trick used to * pass in generic type information to the resteasy runtime. * * For example: * * List list = response.getEntity(new GenericType() {}); * * * This method actually does the reading on the OutputStream. It will only do the read once. Afterwards, it will * cache the result and return the cached result. * * @param type * @param * @return */ public abstract T2 getEntity(GenericType type); }