Class Response

java.lang.Object
java.util.AbstractMap<K,​V>
java.util.HashMap
com.cloudinary.http44.api.Response
All Implemented Interfaces:
com.cloudinary.api.ApiResponse, java.io.Serializable, java.lang.Cloneable, java.util.Map

public class Response
extends java.util.HashMap
implements com.cloudinary.api.ApiResponse
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
    Response​(org.apache.http.HttpResponse response, java.util.Map result)  
  • Method Summary

    Modifier and Type Method Description
    com.cloudinary.api.RateLimit apiRateLimit()  
    org.apache.http.HttpResponse getRawHttpResponse()  
    java.util.Map<java.lang.String,​com.cloudinary.api.RateLimit> rateLimits()  

    Methods inherited from class java.util.HashMap

    clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, 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

    clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
  • Constructor Details

    • Response

      public Response​(org.apache.http.HttpResponse response, java.util.Map result)
  • Method Details

    • getRawHttpResponse

      public org.apache.http.HttpResponse getRawHttpResponse()
    • rateLimits

      public java.util.Map<java.lang.String,​com.cloudinary.api.RateLimit> rateLimits() throws java.text.ParseException
      Specified by:
      rateLimits in interface com.cloudinary.api.ApiResponse
      Throws:
      java.text.ParseException
    • apiRateLimit

      public com.cloudinary.api.RateLimit apiRateLimit() throws java.text.ParseException
      Specified by:
      apiRateLimit in interface com.cloudinary.api.ApiResponse
      Throws:
      java.text.ParseException