public interface RateLimitStatus extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
getLimit()
Returns the current limit in effect
This value is identical to the "X-Rate-Limit-Limit" response header. |
int |
getRemaining()
Returns the remaining number of API requests available.
This value is identical to the "X-Rate-Limit-Remaining" response header. |
int |
getResetTimeInSeconds()
Returns the seconds the current rate limiting period ends.
This should be a same as getResetTime().getTime()/1000. |
int |
getSecondsUntilReset()
Returns the amount of seconds until the current rate limiting period ends.
This is a value provided/calculated only by Twitter4J for handiness and not a part of the twitter API spec. |
int getRemaining()
int getLimit()
int getResetTimeInSeconds()
int getSecondsUntilReset()
Copyright © 2018. All rights reserved.