Class SessionManager

  • All Implemented Interfaces:
    HttpRequestFilter, HttpRetryHandler, IOExceptionRetryHandler

    public final class SessionManager
    extends BackoffLimitedRetryHandler
    implements HttpRequestFilter
    This class manages session interactions, including grabbing latest from the cache, and invalidating upon 401 If the credentials supplied in the authentication header are invalid, or if the token has expired, the server returns HTTP response code 401. After the token expires, you must log in again to obtain a new token.