public class Response extends HashMap implements ApiResponse
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Response(org.apache.http.HttpResponse response,
Map result) |
| Modifier and Type | Method and Description |
|---|---|
RateLimit |
apiRateLimit() |
org.apache.http.HttpResponse |
getRawHttpResponse() |
Map<String,RateLimit> |
rateLimits() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic Response(org.apache.http.HttpResponse response,
Map result)
public org.apache.http.HttpResponse getRawHttpResponse()
public Map<String,RateLimit> rateLimits() throws ParseException
rateLimits in interface ApiResponseParseExceptionpublic RateLimit apiRateLimit() throws ParseException
apiRateLimit in interface ApiResponseParseExceptionCopyright © 2015. All Rights Reserved.