public interface OAuthProviderListener
OAuthProvider
.Modifier and Type | Method and Description |
---|---|
boolean |
onResponseReceived(HttpRequest request,
HttpResponse response)
Called when the server response has been received.
|
void |
prepareRequest(HttpRequest request)
Called after the request has been created and default headers added, but
before the request has been signed.
|
void |
prepareSubmission(HttpRequest request)
Called after the request has been signed, but before it's being sent.
|
void prepareRequest(HttpRequest request) throws java.lang.Exception
request
- the request to be sentjava.lang.Exception
void prepareSubmission(HttpRequest request) throws java.lang.Exception
request
- the request to be sentjava.lang.Exception
boolean onResponseReceived(HttpRequest request, HttpResponse response) throws java.lang.Exception
request
- the request that was sentresponse
- the response that was receivedjava.lang.Exception