org.jclouds.gogrid.functions
Class ParseErrorFromJsonResponse
java.lang.Object
org.jclouds.gogrid.functions.ParseErrorFromJsonResponse
- All Implemented Interfaces:
- com.google.common.base.Function<HttpResponse,SortedSet<ErrorResponse>>
public class ParseErrorFromJsonResponse
- extends Object
- implements com.google.common.base.Function<HttpResponse,SortedSet<ErrorResponse>>
Parses error
response
from a json string.
GoGrid may return multiple error objects, if multiple errors were found.
- Author:
- Oleksiy Yarmula
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
apply
public SortedSet<ErrorResponse> apply(HttpResponse arg0)
- Specified by:
apply
in interface com.google.common.base.Function<HttpResponse,SortedSet<ErrorResponse>>
Copyright © 2009-2011 jclouds. All Rights Reserved.