org.jclouds.http
Interface HttpErrorHandler

All Known Implementing Classes:
CloseContentAndSetExceptionErrorHandler, CloudSigmaErrorHandler, DelegatingErrorHandler, DeltacloudErrorHandler, ElasticStackErrorHandler, GoGridErrorHandler, ParseAtmosErrorFromXmlContent, ParseAWSErrorFromXmlContent, ParseAzureBlobErrorFromXmlContent, ParseAzureStorageErrorFromXmlContent, ParseCloudLoadBalancersErrorFromHttpResponse, ParseCloudServersErrorFromHttpResponse, ParseNovaErrorFromHttpResponse, ParseS3ErrorFromXmlContent, ParseSlicehostErrorFromHttpResponse, ParseSwiftErrorFromHttpResponse, ParseTerremarkVCloudErrorFromHttpResponse, ParseVCloudErrorFromHttpResponse, SoftLayerErrorHandler, VPDCErrorHandler

public interface HttpErrorHandler

Responsible for setting an exception on the command relevant to the unrecoverable error in the HttpResponse.

Author:
Adrian Cole

Field Summary
static HttpErrorHandler NOOP
           
 
Method Summary
 void handleError(HttpCommand command, HttpResponse response)
           
 

Field Detail

NOOP

static final HttpErrorHandler NOOP
Method Detail

handleError

void handleError(HttpCommand command,
                 HttpResponse response)


Copyright © 2009-2011 jclouds. All Rights Reserved.