| 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.
|
| Modifier and Type | Method and Description |
|---|---|
CassandraBuilder |
CassandraBuilder.workingDirectory(IOSupplier<? extends Path> workingDirectorySupplier)
Set the
Supplier of the working directory that should be called each time when CassandraBuilder.build() is
called. |
| Modifier and Type | Method and Description |
|---|---|
static <T> IOSupplier<T> |
IOSupplier.wrap(Supplier<? extends T> supplier)
Wrap a provided
Supplier into IOSupplier. |
| Modifier and Type | Method and Description |
|---|---|
static IOSupplier<? extends InputStream> |
HttpClient.BodySuppliers.ofBytes(byte[] body)
Creates a body supplier of the provided byte array.
|
static IOSupplier<? extends InputStream> |
HttpClient.BodySuppliers.ofString(String body)
Creates a body supplier of the provided string.
|
static IOSupplier<? extends InputStream> |
HttpClient.BodySuppliers.ofString(String body,
Charset charset)
Creates a body supplier of the provided string and charset.
|
| Modifier and Type | Method and Description |
|---|---|
HttpResponse |
JdkHttpClient.send(HttpRequest httpRequest,
IOSupplier<? extends InputStream> bodySupplier) |
HttpResponse |
HttpClient.send(HttpRequest httpRequest,
IOSupplier<? extends InputStream> bodySupplier)
Sends HTTP request with a provided body.
|
Copyright © 2023. All rights reserved.