public Object extractEntity(ClientRequestContext context, Object... args)
{
final BaseClientResponse response = context.getClientResponse();
try
{
response.checkFailureStatus();
}
catch (ClientResponseFailure ce)
{
// If ClientResponseFailure do a copy of the response and then release the connection,
// we need to use the copy here and not the original response