Class RateLimits


  • public class RateLimits
    extends java.lang.Object
    Class to summarize the rate limits Contentful returns.
    • Constructor Detail

      • RateLimits

        public RateLimits()
    • Method Detail

      • getHourLimit

        public int getHourLimit()
        Returns:
        the number of requests remaining per hour in total.
      • getHourRemaining

        public int getHourRemaining()
        Returns:
        the number of requests remaining currently.
      • getReset

        public int getReset()
        Returns:
        when does the rate limit counter reset?
      • getSecondLimit

        public int getSecondLimit()
        Returns:
        the number of requests remaining per hour in total.
      • getSecondRemaining

        public int getSecondRemaining()
        Returns:
        the number of requests remaining currently.