public static final class HttpEntity.DiscardedEntity extends java.lang.Object implements HttpMessage.DiscardedEntity
Constructor and Description |
---|
DiscardedEntity(scala.concurrent.Future<akka.Done> f) |
Modifier and Type | Method and 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).
|
public java.util.concurrent.CompletionStage<akka.Done> completionStage()
completionStage
in interface HttpEntity.DiscardedEntity
public scala.concurrent.Future<akka.Done> future()
future
in interface HttpEntity.DiscardedEntity