Class URLContent

java.lang.Object
io.nosqlbench.nb.api.nbio.URLContent
All Implemented Interfaces:
Content<URL>, Comparable<Content<?>>, Supplier<CharSequence>

public class URLContent extends Object implements Content<URL>
StreamContent is meant for short-lived use as an efficient way to find a read URL content. If a caller has already acquired an input stream, it can be passed to the stream content holder to avoid double fetch or other unintuitive and inefficient behavior.