Class PageSlice

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

    public final class PageSlice
    extends Object
    implements com.artipie.http.Slice
    Slice to render HTML pages.
    Since:
    0.2
    • Constructor Detail

      • PageSlice

        public PageSlice​(com.artipie.management.dashboard.Page page)
        New slice for page.
        Parameters:
        page - Page
    • 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