Check Rate Limit using Okta Java API Client

HI,

I am using the Okta Java SDK to make API calls. I want to ensure my code respects the Okta API rate limit. The REST API returns the header ‘X-Rate-Limit-Remaining’ after each API call to inform the client of how many future requests they can make in the current window. Is it possible to access this header via the Java SDK?

I just answered a similar question in a GitHub issue: https://github.com/okta/okta-sdk-java/issues/319.