public class ParseFirstJsonValueNamed<T> extends Object implements com.google.common.base.Function<HttpResponse,T>
Constructor and Description |
---|
ParseFirstJsonValueNamed(GsonWrapper json,
com.google.inject.TypeLiteral<T> type,
String... nameChoices) |
protected Logger logger
public ParseFirstJsonValueNamed(GsonWrapper json, com.google.inject.TypeLiteral<T> type, String... nameChoices)
nameChoices
- tried in order, first match winspublic T apply(HttpResponse arg0)
apply
in interface com.google.common.base.Function<HttpResponse,T>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.