public class OverLimitParser extends Object implements com.google.common.base.Function<String,Map<String,String>>
{ "overLimit" : { "code" : 413, "message" : "OverLimit Retry...", "details" : "Error Details...", "retryAt" : "2012-11-14T21:51:28UTC" } }or
{ "overLimit": { "message": "This request was rate-limited.", "code": 413, "retryAfter": "54", "details": "Only 1 POST request(s) can be made to \"*\" every minute." } }
Constructor and Description |
---|
OverLimitParser(Json json) |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
apply(String in)
parses or returns an empty map.
|
Copyright © 2009–2021 The Apache Software Foundation. All rights reserved.