Class SearchResultConverter<T>
- java.lang.Object
-
- zipkin2.elasticsearch.internal.client.SearchResultConverter<T>
-
- All Implemented Interfaces:
HttpCall.BodyConverter<java.util.List<T>>
public class SearchResultConverter<T> extends java.lang.Object implements HttpCall.BodyConverter<java.util.List<T>>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSearchResultConverter(com.squareup.moshi.JsonAdapter<T> adapter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<T>convert(okio.BufferedSource content)static <T> SearchResultConverter<T>create(com.squareup.moshi.JsonAdapter<T> adapter)
-
-
-
Constructor Detail
-
SearchResultConverter
protected SearchResultConverter(com.squareup.moshi.JsonAdapter<T> adapter)
-
-
Method Detail
-
create
public static <T> SearchResultConverter<T> create(com.squareup.moshi.JsonAdapter<T> adapter)
-
convert
public java.util.List<T> convert(okio.BufferedSource content) throws java.io.IOException
- Specified by:
convertin interfaceHttpCall.BodyConverter<T>- Throws:
java.io.IOException
-
-