getRetryAfter abstract method
ZonedDateTime
getRetryAfter()
Calculates and returns the remaining duration before the current
rate limit window resets for the given identifier.
This value is typically used to populate the Retry-After HTTP header
in rate-limited responses. Implementations should ensure that the
computed duration is timezone-aware and aligned with the configured
RateLimitEntry.resetTime.
Returns a ZonedDateTime indicating when the identifier may send
requests again, or null if the identifier is not currently limited.
Implementation
ZonedDateTime getRetryAfter();