public class SearchResultConverter<T> extends Object implements HttpCall.BodyConverter<List<T>>
Modifier | Constructor and Description |
---|---|
protected |
SearchResultConverter(com.squareup.moshi.JsonAdapter<T> adapter) |
Modifier and Type | Method and Description |
---|---|
List<T> |
convert(okio.BufferedSource content) |
static <T> SearchResultConverter<T> |
create(com.squareup.moshi.JsonAdapter<T> adapter) |
protected SearchResultConverter(com.squareup.moshi.JsonAdapter<T> adapter)
public static <T> SearchResultConverter<T> create(com.squareup.moshi.JsonAdapter<T> adapter)
public List<T> convert(okio.BufferedSource content) throws IOException
convert
in interface HttpCall.BodyConverter<List<T>>
IOException
Copyright © 2015–2018 OpenZipkin. All rights reserved.