Package akka.http.javadsl.model
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.concurrent.CompletionStage<akka.Done>
completionStage()
This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).scala.concurrent.Future<akka.Done>
future()
This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).
-
-
-
Method Detail
-
future
scala.concurrent.Future<akka.Done> future()
This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).
-
completionStage
java.util.concurrent.CompletionStage<akka.Done> completionStage()
This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).
-
-