Module methanol

Class MimeBodyPublisherAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      MediaType mediaType()
      Returns the body's media type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.concurrent.Flow.Publisher

        subscribe
      • Methods inherited from interface java.net.http.HttpRequest.BodyPublisher

        contentLength
    • Constructor Detail

      • MimeBodyPublisherAdapter

        public MimeBodyPublisherAdapter​(java.net.http.HttpRequest.BodyPublisher upstream,
                                        MediaType mediaType)