Class GetStorageSlice

  • All Implemented Interfaces:
    com.artipie.http.Slice

    public final class GetStorageSlice
    extends Object
    implements com.artipie.http.Slice
    Get storage slice. See https://github.com/artipie/artipie/issues/545
    Since:
    0.3
    • Constructor Detail

      • GetStorageSlice

        public GetStorageSlice​(Storages storages,
                               Pattern path)
        New storage list slice.
        Parameters:
        storages - Artipie storages
        path - Artipie path pattern
    • Method Detail

      • response

        public com.artipie.http.Response response​(String line,
                                                  Iterable<Map.Entry<String,​String>> headers,
                                                  org.reactivestreams.Publisher<ByteBuffer> body)
        Specified by:
        response in interface com.artipie.http.Slice