Uses of Interface
io.fluxzero.common.ThrowingSupplier
Packages that use ThrowingSupplier
-
Uses of ThrowingSupplier in io.fluxzero.sdk.web
Methods in io.fluxzero.sdk.web with parameters of type ThrowingSupplierModifier and TypeMethodDescriptionstatic WebResponseWebResponse.ok(ThrowingSupplier<? extends InputStream> inputStreamSupplier, Map<String, String> headers) Creates a 200 OK response whose body stream is opened lazily through the supplier, with the supplied headers.static WebResponseWebResponse.partial(ThrowingSupplier<? extends InputStream> inputStreamSupplier, Map<String, String> headers) Creates a 206 Partial Content response with a lazily opened body stream.