Class ClientConnectionContinuationHandler

java.lang.Object
software.amazon.awssdk.crt.eventstream.ClientConnectionContinuationHandler
All Implemented Interfaces:
AutoCloseable

public abstract class ClientConnectionContinuationHandler extends Object implements AutoCloseable
Handler interface for responding to continuation events. It's auto closable. By default, onContinuationClosed() releases the underlying resource.
  • Constructor Details

    • ClientConnectionContinuationHandler

      public ClientConnectionContinuationHandler()
  • Method Details

    • getContinuationClosedFuture

      public CompletableFuture<Void> getContinuationClosedFuture()
      Returns:
      a future that will be completed upon the continuation being closed.
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable