public class RateLimits
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RateLimits.DefaultParser
Default parser for rate limits, comming from HTTP Headers.
|
static interface |
RateLimits.Parser
Interface for parsing rate limits.
|
Constructor and Description |
---|
RateLimits() |
Modifier and Type | Method and Description |
---|---|
int |
getHourLimit() |
int |
getHourRemaining() |
int |
getReset() |
int |
getSecondLimit() |
int |
getSecondRemaining() |
public int getHourLimit()
public int getHourRemaining()
public int getReset()
public int getSecondLimit()
public int getSecondRemaining()
Copyright © 2019 Contentful, GmbH.. All Rights Reserved.