Package akka.http.scaladsl.model
Class HttpEntity.DiscardedEntity
java.lang.Object
akka.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCompletionStage<akka.Done>
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).
-
Constructor Details
-
DiscardedEntity
public DiscardedEntity(scala.concurrent.Future<akka.Done> f)
-
-
Method Details
-
completionStage
This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).- Specified by:
completionStage
in interfaceHttpEntity.DiscardedEntity
- Returns:
- (undocumented)
-
future
public scala.concurrent.Future<akka.Done> future()This future completes successfully once the underlying entity stream has been successfully drained (and fails otherwise).- Specified by:
future
in interfaceHttpEntity.DiscardedEntity
- Returns:
- (undocumented)
-