Class OkHttpNonEmptyBodyConverter<T>

  • All Implemented Interfaces:
    retrofit2.Converter<okhttp3.ResponseBody,​T>

    public class OkHttpNonEmptyBodyConverter<T>
    extends java.lang.Object
    implements retrofit2.Converter<okhttp3.ResponseBody,​T>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface retrofit2.Converter

        retrofit2.Converter.Factory
    • Constructor Summary

      Constructors 
      Constructor Description
      OkHttpNonEmptyBodyConverter​(retrofit2.Converter<okhttp3.ResponseBody,​T> delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T convert​(okhttp3.ResponseBody body)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OkHttpNonEmptyBodyConverter

        public OkHttpNonEmptyBodyConverter​(retrofit2.Converter<okhttp3.ResponseBody,​T> delegate)
    • Method Detail

      • convert

        public T convert​(okhttp3.ResponseBody body)
                  throws com.fasterxml.jackson.core.JsonProcessingException
        Specified by:
        convert in interface retrofit2.Converter<okhttp3.ResponseBody,​T>
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException