Interface HttpEntity.DiscardedEntity

All Known Subinterfaces:
HttpMessage.DiscardedEntity
All Known Implementing Classes:
HttpEntity.DiscardedEntity, HttpMessage.DiscardedEntity
Enclosing interface:
HttpEntity

public static interface HttpEntity.DiscardedEntity
Represents the currently being-drained HTTP Entity which triggers completion of the contained Future once the entity has been drained for the given HttpMessage completely.
  • Method Summary

    Modifier and Type
    Method
    Description
    CompletionStage<akka.Done>
    This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).
    scala.concurrent.Future<akka.Done>
    This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).
  • Method Details

    • future

      scala.concurrent.Future<akka.Done> future()
      This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).
    • completionStage

      CompletionStage<akka.Done> completionStage()
      This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).