Class ApiRepoListSlice

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

    public final class ApiRepoListSlice
    extends Object
    implements com.artipie.http.Slice
    Repo list API.
    Since:
    0.1
    • Constructor Detail

      • ApiRepoListSlice

        public ApiRepoListSlice​(com.artipie.asto.Storage storage,
                                ConfigFiles configfile)
        New repo list API.
        Parameters:
        storage - Artipie settings storage
        configfile - Config file to support `yaml` and `.yml` extensions
    • 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