Class OverLimitParser
java.lang.Object
org.jclouds.openstack.nova.v2_0.functions.OverLimitParser
- All Implemented Interfaces:
com.google.common.base.Function<String,,Map<String, String>> Function<String,Map<String, String>>
public class OverLimitParser
extends Object
implements com.google.common.base.Function<String,Map<String,String>>
The expected body contains the time as in this (real) response
{
"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."
}
}