Class CompletionHandler<E>

java.lang.Object
org.glassfish.jersey.jdk.connector.internal.CompletionHandler<E>

abstract class CompletionHandler<E> extends Object
A callback to notify about asynchronous I/O operations status updates.
  • Constructor Details

    • CompletionHandler

      CompletionHandler()
  • Method Details

    • failed

      public void failed(Throwable throwable)
      The operation has failed.
      Parameters:
      throwable - error, which occurred during operation execution.
    • completed

      public void completed(E result)
      The operation has completed.
      Parameters:
      result - the operation result.