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 Summary
Constructors Constructor Description ClientConnectionContinuationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
CompletableFuture<Void>
getContinuationClosedFuture()
-
-
-
Method Detail
-
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 interfaceAutoCloseable
-
-