Class ContentApiImpl

java.lang.Object
org.projectnessie.services.impl.BaseApiImpl
org.projectnessie.services.impl.ContentApiImpl
All Implemented Interfaces:
ContentService

public class ContentApiImpl extends BaseApiImpl implements ContentService
  • Constructor Details

    • ContentApiImpl

      public ContentApiImpl(org.projectnessie.services.config.ServerConfig config, org.projectnessie.versioned.VersionStore store, Authorizer authorizer, AccessContext accessContext)
  • Method Details

    • getContent

      public org.projectnessie.model.ContentResponse getContent(org.projectnessie.model.ContentKey key, String namedRef, 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(String namedRef, String hashOnRef, List<org.projectnessie.model.ContentKey> keys, boolean withDocumentation) throws org.projectnessie.error.NessieNotFoundException
      Specified by:
      getMultipleContents in interface ContentService
      Throws:
      org.projectnessie.error.NessieNotFoundException