Class ProxyRetrofitQueryMap

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,​java.io.Serializable>

    public class ProxyRetrofitQueryMap
    extends java.util.HashMap<java.lang.String,​java.io.Serializable>
    DON'T USE IT!

    This map exists to workaround retrofit's issue: https://github.com/square/retrofit/issues/1324

    Retrofit doesn't handle a multivalued map.

    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyRetrofitQueryMap​(java.util.Map<java.lang.String,​java.io.Serializable> m)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.util.Map.Entry<java.lang.String,​java.io.Serializable>> entrySet()  
      • Methods inherited from class java.util.HashMap

        clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
      • Methods inherited from class java.util.AbstractMap

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        equals, hashCode
    • Constructor Detail

      • ProxyRetrofitQueryMap

        public ProxyRetrofitQueryMap​(java.util.Map<java.lang.String,​java.io.Serializable> m)
    • Method Detail

      • entrySet

        public java.util.Set<java.util.Map.Entry<java.lang.String,​java.io.Serializable>> entrySet()
        Specified by:
        entrySet in interface java.util.Map<java.lang.String,​java.io.Serializable>
        Overrides:
        entrySet in class java.util.HashMap<java.lang.String,​java.io.Serializable>