public final class SliceDownload extends Object implements Slice
It converts URI path to storage Key
and use it to access storage.
SliceUploadSlice.Wrap| Constructor and Description |
|---|
SliceDownload(com.artipie.asto.Storage storage)
Slice by key from storage.
|
SliceDownload(com.artipie.asto.Storage storage,
Function<String,com.artipie.asto.Key> transform)
Slice by key from storage using custom URI path transformation.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
response(String line,
Iterable<Map.Entry<String,String>> headers,
org.reactivestreams.Publisher<ByteBuffer> body)
Respond to a http request.
|
public SliceDownload(com.artipie.asto.Storage storage)
storage - StorageCopyright © 2012–2020 jcabi.com. All rights reserved.