Class OAuthAsyncCompletionHandler<T>

java.lang.Object
com.ning.http.client.AsyncCompletionHandler<T>
com.github.scribejava.httpclient.ning.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​(OAuthAsyncRequestCallback<T> callback, OAuthRequest.ResponseConverter<T> converter)  
  • Method Summary

    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 Details

  • Method Details

    • 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>