Class ServerConnectionContinuationHandler
java.lang.Object
software.amazon.awssdk.crt.eventstream.ServerConnectionContinuationHandler
- All Implemented Interfaces:
AutoCloseable
Handler interface for responding to continuation events. It's auto closable.
By default, onContinuationClosed() releases the underlying resource.
-
Method Summary
-
Method Details
-
getContinuationClosedFuture
- Returns:
- a future that will be completed upon the continuation being closed.
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-