Class HttpEntity.DiscardedEntity
java.lang.Object
org.apache.pekko.http.scaladsl.model.HttpEntity.DiscardedEntity
- All Implemented Interfaces:
- HttpEntity.DiscardedEntity,- HttpMessage.DiscardedEntity
- Enclosing interface:
- HttpEntity
public static final class HttpEntity.DiscardedEntity
extends Object
implements HttpMessage.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.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionCompletionStage<org.apache.pekko.Done>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).
- 
Constructor Details- 
DiscardedEntitypublic DiscardedEntity(scala.concurrent.Future<org.apache.pekko.Done> f) 
 
- 
- 
Method Details- 
completionStageThis future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).- Specified by:
- completionStagein interface- HttpEntity.DiscardedEntity
- Returns:
- (undocumented)
 
- 
futurepublic scala.concurrent.Future<org.apache.pekko.Done> future()This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).- Specified by:
- futurein interface- HttpEntity.DiscardedEntity
- Returns:
- (undocumented)
 
 
-