Class SearchResultConverter<T>

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SearchResultConverter​(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:
        convert in interface HttpCall.BodyConverter<T>
        Throws:
        java.io.IOException