Uses of Interface
com.github.nosan.embedded.cassandra.commons.function.IOSupplier
-
Packages that use IOSupplier Package Description com.github.nosan.embedded.cassandra Embedded Cassandra provides an easy way to start and stop Apache Cassandra.com.github.nosan.embedded.cassandra.commons.function I/O function classes.com.github.nosan.embedded.cassandra.commons.web HTTP client classes. -
-
Uses of IOSupplier in com.github.nosan.embedded.cassandra
Methods in com.github.nosan.embedded.cassandra with parameters of type IOSupplier Modifier and Type Method Description CassandraBuilderCassandraBuilder. workingDirectory(IOSupplier<? extends Path> workingDirectorySupplier)Sets theSupplierfor the working directory, which will be invoked each timeCassandraBuilder.build()is called. -
Uses of IOSupplier in com.github.nosan.embedded.cassandra.commons.function
Methods in com.github.nosan.embedded.cassandra.commons.function that return IOSupplier Modifier and Type Method Description static <T> IOSupplier<T>IOSupplier. wrap(Supplier<? extends T> supplier)Wraps the givenSupplierinto anIOSupplier. -
Uses of IOSupplier in com.github.nosan.embedded.cassandra.commons.web
Methods in com.github.nosan.embedded.cassandra.commons.web that return IOSupplier Modifier and Type Method Description static IOSupplier<? extends InputStream>HttpClient.BodySuppliers. ofBytes(byte[] body)Creates a body supplier from the given byte array.static IOSupplier<? extends InputStream>HttpClient.BodySuppliers. ofString(String body)Creates a body supplier from the given string.static IOSupplier<? extends InputStream>HttpClient.BodySuppliers. ofString(String body, Charset charset)Creates a body supplier from the given string and charset.Methods in com.github.nosan.embedded.cassandra.commons.web with parameters of type IOSupplier Modifier and Type Method Description HttpResponseHttpClient. send(HttpRequest httpRequest, IOSupplier<? extends InputStream> bodySupplier)Sends an HTTP request with an optional body.HttpResponseJdkHttpClient. send(HttpRequest httpRequest, IOSupplier<? extends InputStream> bodySupplier)Sends an HTTP request using theHttpURLConnectionAPI.
-