Class SimpleFutureResponse

java.lang.Object
io.github.jeremylong.openvulnerability.client.ghsa.SimpleFutureResponse
All Implemented Interfaces:
org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>

class SimpleFutureResponse extends Object implements org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
Future response.
  • Field Details

    • log

      private final org.slf4j.Logger log
      Reference to the logger.
  • Constructor Details

    • SimpleFutureResponse

      SimpleFutureResponse()
  • Method Details

    • completed

      public void completed(org.apache.hc.client5.http.async.methods.SimpleHttpResponse result)
      Specified by:
      completed in interface org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
    • failed

      public void failed(Exception ex)
      Specified by:
      failed in interface org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
    • cancelled

      public void cancelled()
      Specified by:
      cancelled in interface org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>