ReactiveRequest.Content, org.reactivestreams.Publisher<ContentChunk>public class PublisherContent extends AbstractSingleProcessor<ContentChunk,ContentChunk> implements ReactiveRequest.Content
| Constructor | Description |
|---|---|
PublisherContent(org.reactivestreams.Publisher<ContentChunk> publisher,
String contentType) |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getContentType() |
|
long |
getLength() |
|
void |
onNext(ContentChunk chunk) |
cancel, downStream, onComplete, onError, onFailure, onRequest, onSubscribe, upStreamrequest, subscribe, subscriberclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromPublisher, fromPublisher, fromStringpublic PublisherContent(org.reactivestreams.Publisher<ContentChunk> publisher, String contentType)
public long getLength()
getLength in interface ReactiveRequest.Contentpublic String getContentType()
getContentType in interface ReactiveRequest.Contentmedia_type[;charset=<charset>]public void onNext(ContentChunk chunk)
Copyright © 2017 The Jetty Project. All rights reserved.