public final class PartFromPublisher extends Object implements Part
Publisher of bytes into a Part.| Constructor and Description |
|---|
PartFromPublisher(org.reactivestreams.Publisher<ByteBuffer> publisher)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<Map.Entry<String,String>> |
headers()
Part headers.
|
void |
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> sub) |
public PartFromPublisher(org.reactivestreams.Publisher<ByteBuffer> publisher)
publisher - The publisher to create part from.public Iterable<Map.Entry<String,String>> headers()
Partpublic void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> sub)
subscribe in interface org.reactivestreams.Publisher<ByteBuffer>Copyright © 2012–2020 jcabi.com. All rights reserved.