public static final class HttpEntity.DiscardedEntity extends java.lang.Object implements HttpMessage.DiscardedEntity
| Constructor and Description | 
|---|
| DiscardedEntity(scala.concurrent.Future<org.apache.pekko.Done> f) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.util.concurrent.CompletionStage<org.apache.pekko.Done> | completionStage()This future completes successfully once the underlying entity stream has been
 successfully drained (and fails otherwise). | 
| scala.concurrent.Future<org.apache.pekko.Done> | future()This future completes successfully once the underlying entity stream has been
 successfully drained (and fails otherwise). | 
public DiscardedEntity(scala.concurrent.Future<org.apache.pekko.Done> f)
public java.util.concurrent.CompletionStage<org.apache.pekko.Done> completionStage()
completionStage in interface HttpEntity.DiscardedEntitypublic scala.concurrent.Future<org.apache.pekko.Done> future()
future in interface HttpEntity.DiscardedEntity