Uses of Interface
com.github.mizosoft.methanol.function.ThrowingConsumer
-
Packages that use ThrowingConsumer Package Description com.github.mizosoft.methanol com.github.mizosoft.methanol.internal.function -
-
Uses of ThrowingConsumer in com.github.mizosoft.methanol
Methods in com.github.mizosoft.methanol with parameters of type ThrowingConsumer Modifier and Type Method Description static java.net.http.HttpRequest.BodyPublisherMoreBodyPublishers. ofOutputStream(ThrowingConsumer<? super java.io.OutputStream> writerTask, java.util.concurrent.Executor executor)Returns aBodyPublisherthat reads what's written to theOutputStreamreceived by the given task.static java.net.http.HttpRequest.BodyPublisherMoreBodyPublishers. ofWritableByteChannel(ThrowingConsumer<? super java.nio.channels.WritableByteChannel> writerTask, java.util.concurrent.Executor executor)Returns aBodyPublisherthat reads what's written to theWritableByteChannelreceived by the given task. -
Uses of ThrowingConsumer in com.github.mizosoft.methanol.internal.function
Methods in com.github.mizosoft.methanol.internal.function with parameters of type ThrowingConsumer Modifier and Type Method Description static <T> java.util.function.Consumer<T>Unchecked. consumer(ThrowingConsumer<T> consumer)
-