Package com.artipie.npm.http
Class NpmSlice
- java.lang.Object
-
- com.artipie.npm.http.NpmSlice
-
- All Implemented Interfaces:
com.artipie.http.Slice
public final class NpmSlice extends Object implements com.artipie.http.Slice
NpmSlice is a http layer in npm adapter.- Since:
- 0.3
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artipie.http.Responseresponse(String line, Iterable<Map.Entry<String,String>> headers, org.reactivestreams.Publisher<ByteBuffer> body)
-
-
-
Constructor Detail
-
NpmSlice
public NpmSlice(com.artipie.asto.Storage storage)
Ctor.- Parameters:
storage- Storage for package
-
NpmSlice
public NpmSlice(Npm npm, com.artipie.asto.Storage storage)
Ctor.- Parameters:
npm- Npm frontstorage- Storage for package
-
-