org.jclouds.gogrid.functions
Class ParseErrorFromJsonResponse

java.lang.Object
  extended by 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

Method Summary
 SortedSet<ErrorResponse> apply(HttpResponse arg0)
           
 
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
 

Method Detail

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.