Class Insert

    • Constructor Detail

      • Insert

        public Insert()
        For use with RESTeasy and CDI proxies.
        API Note:
        This construtor is used by CDI runtimes that require a public, no-argument constructor. It should not be invoked directly in user code.
    • Method Detail

      • execute

        public CompletionStage<Void> execute​(IRI id,
                                             int chunkSize,
                                             int chunkIndex,
                                             InputStream chunk)
        Parameters:
        id - the IRI of this binary
        chunkSize - size of chunk to use for this binary
        chunkIndex - which chunk this is
        chunk - the bytes of this chunk
        Returns:
        whether and when it has been inserted