org.jclouds.http.handlers
Class DelegatingErrorHandler
java.lang.Object
org.jclouds.http.handlers.DelegatingErrorHandler
- All Implemented Interfaces:
- HttpErrorHandler
@Singleton
public class DelegatingErrorHandler
- extends Object
- implements HttpErrorHandler
Delegates to HttpErrorHandlers
who are annotated according to the
response codes they relate to.
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handleError
public void handleError(HttpCommand command,
HttpResponse response)
- Specified by:
handleError
in interface HttpErrorHandler
getRedirectionHandler
public HttpErrorHandler getRedirectionHandler()
getClientErrorHandler
public HttpErrorHandler getClientErrorHandler()
getServerErrorHandler
public HttpErrorHandler getServerErrorHandler()
Copyright © 2009-2011 jclouds. All Rights Reserved.