org.jclouds.http.functions
Class ParseFirstJsonValueNamed<T>
java.lang.Object
org.jclouds.http.functions.ParseFirstJsonValueNamed<T>
- All Implemented Interfaces:
- com.google.common.base.Function<HttpResponse,T>
public class ParseFirstJsonValueNamed<T>
- extends Object
- implements com.google.common.base.Function<HttpResponse,T>
- Author:
- Adrian Cole
| 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 |
logger
protected Logger logger
ParseFirstJsonValueNamed
public ParseFirstJsonValueNamed(GsonWrapper json,
com.google.inject.TypeLiteral<T> type,
String... nameChoices)
- Parameters:
nameChoices - tried in order, first match wins
apply
public T apply(HttpResponse arg0)
- Specified by:
apply in interface com.google.common.base.Function<HttpResponse,T>
Copyright © 2009-2013 jclouds. All Rights Reserved.