- All Superinterfaces:
Flow.Publisher<ByteBuffer>
,HttpRequest.BodyPublisher
- All Known Implementing Classes:
FormBodyPublisher
,MimeBodyPublisherAdapter
,MultipartBodyPublisher
A
BodyPublisher
with a media type.-
Method Summary
Methods inherited from interface java.util.concurrent.Flow.Publisher
subscribe
Methods inherited from interface java.net.http.HttpRequest.BodyPublisher
contentLength
-
Method Details
-
mediaType
MediaType mediaType()Returns the body's media type.
-