Package com.artipie.composer.http
Class PackageMetadata
- java.lang.Object
-
- com.artipie.composer.http.PackageMetadata
-
-
Field Summary
Fields Modifier and Type Field Description static com.artipie.asto.KeyALL_PACKAGESKey to all packages.
-
Constructor Summary
Constructors Constructor Description PackageMetadata(String path, com.artipie.asto.Storage storage)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.artipie.http.Responseget()Serve GET method.com.artipie.http.Responseput(org.reactivestreams.Publisher<ByteBuffer> body)Serve PUT method.
-
-
-
Constructor Detail
-
PackageMetadata
public PackageMetadata(String path, com.artipie.asto.Storage storage)
Ctor.- Parameters:
path- Resource path.storage- Storage to read content from.
-
-
Method Detail
-
put
public com.artipie.http.Response put(org.reactivestreams.Publisher<ByteBuffer> body)
Description copied from interface:ResourceServe PUT method.
-
-