Class AbstractAsyncOnlyHttpClient.OAuthAsyncRequestThrowableHolderCallback
- java.lang.Object
-
- com.github.scribejava.core.httpclient.AbstractAsyncOnlyHttpClient.OAuthAsyncRequestThrowableHolderCallback
-
- All Implemented Interfaces:
OAuthAsyncRequestCallback<Response>
- Enclosing class:
- AbstractAsyncOnlyHttpClient
private class AbstractAsyncOnlyHttpClient.OAuthAsyncRequestThrowableHolderCallback extends java.lang.Object implements OAuthAsyncRequestCallback<Response>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Throwablethrowable
-
Constructor Summary
Constructors Modifier Constructor Description privateOAuthAsyncRequestThrowableHolderCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ThrowablegetThrowable()voidonCompleted(Response response)Implementations of this method should close provided response in case it implementsCloseablevoidonThrowable(java.lang.Throwable t)
-
-
-
Method Detail
-
onCompleted
public void onCompleted(Response response)
Description copied from interface:OAuthAsyncRequestCallbackImplementations of this method should close provided response in case it implementsCloseable- Specified by:
onCompletedin interfaceOAuthAsyncRequestCallback<Response>- Parameters:
response- response
-
onThrowable
public void onThrowable(java.lang.Throwable t)
- Specified by:
onThrowablein interfaceOAuthAsyncRequestCallback<Response>
-
getThrowable
public java.lang.Throwable getThrowable()
-
-