Class GenericAuthority.FetchTokensThread

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    GenericAuthority

    protected static class GenericAuthority.FetchTokensThread
    extends java.lang.Thread
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Auth auth  
      protected org.apache.http.client.HttpClient client  
      protected java.lang.Throwable exception  
      protected java.lang.String url  
      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      FetchTokensThread​(org.apache.http.client.HttpClient client, java.lang.String url)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Auth getAuthResponse()  
      java.lang.Throwable getException()  
      void run()  
      • Methods inherited from class java.lang.Thread

        activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • client

        protected org.apache.http.client.HttpClient client
      • url

        protected java.lang.String url
      • exception

        protected java.lang.Throwable exception
      • auth

        protected Auth auth
    • Constructor Detail

      • FetchTokensThread

        public FetchTokensThread​(org.apache.http.client.HttpClient client,
                                 java.lang.String url)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
        Overrides:
        run in class java.lang.Thread
      • getException

        public java.lang.Throwable getException()
      • getAuthResponse

        public Auth getAuthResponse()