Package com.artipie.npm.proxy.http
Class DownloadPackageSlice
- java.lang.Object
-
- com.artipie.npm.proxy.http.DownloadPackageSlice
-
- All Implemented Interfaces:
com.artipie.http.Slice
public final class DownloadPackageSlice extends Object implements com.artipie.http.Slice
HTTP slice for download package requests.- Since:
- 0.1
-
-
Constructor Summary
Constructors Constructor Description DownloadPackageSlice(NpmProxy npm, PackagePath path)
Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artipie.http.Response
response(String line, Iterable<Map.Entry<String,String>> headers, org.reactivestreams.Publisher<ByteBuffer> body)
-
-
-
Constructor Detail
-
DownloadPackageSlice
public DownloadPackageSlice(NpmProxy npm, PackagePath path)
Ctor.- Parameters:
npm
- NPM Proxy facadepath
- Package path helper
-
-