Class RateLimitedErrorResponse


  • public class RateLimitedErrorResponse
    extends ErrorResponse
    Rate limited error response.
    • Field Detail

      • retryAfterMs

        private Long retryAfterMs
        Time to retry send a request.
    • Constructor Detail

      • RateLimitedErrorResponse

        public RateLimitedErrorResponse()
      • RateLimitedErrorResponse

        public RateLimitedErrorResponse​(String errcode,
                                        String error)
      • RateLimitedErrorResponse

        public RateLimitedErrorResponse​(String errcode,
                                        String error,
                                        Long retryAfterMs)
    • Method Detail

      • getRetryAfterMs

        public Long getRetryAfterMs()
      • setRetryAfterMs

        public void setRetryAfterMs​(Long retryAfterMs)