Interface Request.Content.Subscription

All Known Implementing Classes:
AbstractRequestContent.AbstractSubscription, AsyncRequestContent, OutputStreamRequestContent, RequestContentAdapter
Enclosing interface:
Request.Content

public static interface Request.Content.Subscription

The link between a content producer and a content consumer.

Content consumers can demand more content via demand(), or ask the content producer to stop producing content via fail(Throwable).