Class RateLimitedClient.SimpleFutureResponse
java.lang.Object
io.github.jeremylong.openvulnerability.client.nvd.RateLimitedClient.SimpleFutureResponse
- All Implemented Interfaces:
org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
- Enclosing class:
- RateLimitedClient
static class RateLimitedClient.SimpleFutureResponse
extends Object
implements org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
Future response.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
log
private final org.slf4j.Logger logReference to the logger.
-
-
Constructor Details
-
SimpleFutureResponse
SimpleFutureResponse()
-
-
Method Details
-
completed
public void completed(org.apache.hc.client5.http.async.methods.SimpleHttpResponse result) - Specified by:
completedin interfaceorg.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
-
failed
- Specified by:
failedin interfaceorg.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
-
cancelled
public void cancelled()- Specified by:
cancelledin interfaceorg.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
-