Class ContentSinkSubscriber
java.lang.Object
org.eclipse.jetty.io.content.ContentSinkSubscriber
- All Implemented Interfaces:
 Flow.Subscriber<Content.Chunk>
A Flow.Subscriber that wraps a Content.Sink.
Content delivered to the onNext(Content.Chunk) method is
written to Content.Sink.write(boolean, ByteBuffer, Callback)
and the chunk is released once the write callback is succeeded or failed.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidonNext(Content.Chunk chunk) voidonSubscribe(Flow.Subscription subscription)  
- 
Constructor Details
- 
ContentSinkSubscriber
 
 - 
 - 
Method Details
- 
onSubscribe
- Specified by:
 onSubscribein interfaceFlow.Subscriber<Content.Chunk>
 - 
onNext
- Specified by:
 onNextin interfaceFlow.Subscriber<Content.Chunk>
 - 
onError
- Specified by:
 onErrorin interfaceFlow.Subscriber<Content.Chunk>
 - 
onComplete
public void onComplete()- Specified by:
 onCompletein interfaceFlow.Subscriber<Content.Chunk>
 
 -