Class OAuthAsyncCompletionHandler<T>

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

    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 class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.asynchttpclient.AsyncHandler

    onConnectionOffer, onConnectionPoolAttempt, onConnectionPooled, onHostnameResolutionAttempt, onHostnameResolutionFailure, onHostnameResolutionSuccess, onRequestSend, onRetry, onTcpConnectAttempt, onTcpConnectFailure, onTcpConnectSuccess, onTlsHandshakeAttempt, onTlsHandshakeFailure, onTlsHandshakeSuccess
  • Constructor Details

  • Method Details

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