Class OAuthAsyncCompletionHandler<T>

  • All Implemented Interfaces:
    com.ning.http.client.AsyncHandler<T>, com.ning.http.client.ProgressAsyncHandler<T>

    public class OAuthAsyncCompletionHandler<T>
    extends com.ning.http.client.AsyncCompletionHandler<T>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.ning.http.client.AsyncHandler

        com.ning.http.client.AsyncHandler.STATE
    • Constructor Summary

      Constructors 
      Constructor Description
      OAuthAsyncCompletionHandler​(com.github.scribejava.core.model.OAuthAsyncRequestCallback<T> callback, com.github.scribejava.core.model.OAuthRequest.ResponseConverter<T> converter)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T onCompleted​(com.ning.http.client.Response ningResponse)  
      void onThrowable​(java.lang.Throwable t)  
      • Methods inherited from class com.ning.http.client.AsyncCompletionHandler

        onBodyPartReceived, onCompleted, onContentWriteCompleted, onContentWriteProgress, onHeadersReceived, onHeaderWriteCompleted, onStatusReceived
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OAuthAsyncCompletionHandler

        public OAuthAsyncCompletionHandler​(com.github.scribejava.core.model.OAuthAsyncRequestCallback<T> callback,
                                           com.github.scribejava.core.model.OAuthRequest.ResponseConverter<T> converter)
    • Method Detail

      • onCompleted

        public T onCompleted​(com.ning.http.client.Response ningResponse)
        Specified by:
        onCompleted in class com.ning.http.client.AsyncCompletionHandler<T>
      • onThrowable

        public void onThrowable​(java.lang.Throwable t)
        Specified by:
        onThrowable in interface com.ning.http.client.AsyncHandler<T>
        Overrides:
        onThrowable in class com.ning.http.client.AsyncCompletionHandler<T>