Class ContentApiImpl

    • Constructor Detail

      • ContentApiImpl

        public ContentApiImpl​(ServerConfig config,
                              org.projectnessie.versioned.VersionStore store,
                              Authorizer authorizer,
                              java.util.function.Supplier<java.security.Principal> principal)
    • Method Detail

      • getContent

        public org.projectnessie.model.ContentResponse getContent​(org.projectnessie.model.ContentKey key,
                                                                  java.lang.String namedRef,
                                                                  java.lang.String hashOnRef,
                                                                  boolean withDocumentation)
                                                           throws org.projectnessie.error.NessieNotFoundException
        Specified by:
        getContent in interface ContentService
        Throws:
        org.projectnessie.error.NessieNotFoundException
      • getMultipleContents

        public org.projectnessie.model.GetMultipleContentsResponse getMultipleContents​(java.lang.String namedRef,
                                                                                       java.lang.String hashOnRef,
                                                                                       java.util.List<org.projectnessie.model.ContentKey> keys,
                                                                                       boolean withDocumentation)
                                                                                throws org.projectnessie.error.NessieNotFoundException
        Specified by:
        getMultipleContents in interface ContentService
        Throws:
        org.projectnessie.error.NessieNotFoundException