Class ServerConnectionContinuationHandler

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public abstract class ServerConnectionContinuationHandler
    extends java.lang.Object
    implements java.lang.AutoCloseable
    Handler interface for responding to continuation events. It's auto closable. By default, onContinuationClosed() releases the underlying resource.
    • Method Detail

      • getContinuationClosedFuture

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

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable