Class ForwardingBodyPublisher
java.lang.Object
com.github.mizosoft.methanol.internal.extensions.ForwardingBodyPublisher
- All Implemented Interfaces:
HttpRequest.BodyPublisher, Flow.Publisher<ByteBuffer>
- Direct Known Subclasses:
MimeBodyPublisherAdapter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionlongprotected final HttpRequest.BodyPublisherdelegate()voidsubscribe(Flow.Subscriber<? super ByteBuffer> subscriber) toString()
-
Constructor Details
-
ForwardingBodyPublisher
-
-
Method Details
-
delegate
-
contentLength
public long contentLength()- Specified by:
contentLengthin interfaceHttpRequest.BodyPublisher
-
subscribe
- Specified by:
subscribein interfaceFlow.Publisher<ByteBuffer>
-
toString
-