Class OAuthAsyncCompletionHandler<T>

  • All Implemented Interfaces:
    org.asynchttpclient.AsyncHandler<T>, org.asynchttpclient.handler.ProgressAsyncHandler<T>

    public class OAuthAsyncCompletionHandler<T>
    extends org.asynchttpclient.AsyncCompletionHandler<T>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.asynchttpclient.AsyncHandler

        org.asynchttpclient.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​(org.asynchttpclient.Response ahcResponse)  
      void onThrowable​(java.lang.Throwable t)  
      • Methods inherited from class org.asynchttpclient.AsyncCompletionHandler

        onBodyPartReceived, onCompleted, onContentWriteProgress, onContentWritten, onHeadersReceived, onHeadersWritten, onStatusReceived, onTrailingHeadersReceived
      • Methods inherited from interface org.asynchttpclient.AsyncHandler

        onConnectionOffer, onConnectionPoolAttempt, onConnectionPooled, onHostnameResolutionAttempt, onHostnameResolutionFailure, onHostnameResolutionSuccess, onRequestSend, onRetry, onTcpConnectAttempt, onTcpConnectFailure, onTcpConnectSuccess, onTlsHandshakeAttempt, onTlsHandshakeFailure, onTlsHandshakeSuccess
      • 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​(org.asynchttpclient.Response ahcResponse)
        Specified by:
        onCompleted in class org.asynchttpclient.AsyncCompletionHandler<T>
      • onThrowable

        public void onThrowable​(java.lang.Throwable t)
        Specified by:
        onThrowable in interface org.asynchttpclient.AsyncHandler<T>
        Overrides:
        onThrowable in class org.asynchttpclient.AsyncCompletionHandler<T>