Package org.projectnessie.services.impl
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 Summary
Constructors Constructor Description ContentApiImpl(ServerConfig config, org.projectnessie.versioned.VersionStore store, Authorizer authorizer, java.util.function.Supplier<java.security.Principal> principal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.projectnessie.model.ContentResponsegetContent(org.projectnessie.model.ContentKey key, java.lang.String namedRef, java.lang.String hashOnRef, boolean withDocumentation)org.projectnessie.model.GetMultipleContentsResponsegetMultipleContents(java.lang.String namedRef, java.lang.String hashOnRef, java.util.List<org.projectnessie.model.ContentKey> keys, boolean withDocumentation)-
Methods inherited from class org.projectnessie.services.impl.BaseApiImpl
commitMetaUpdate, createAccessContext, getAuthorizer, getHashResolver, getPrincipal, getServerConfig, getStore, startAccessCheck
-
-
-
-
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:
getContentin interfaceContentService- 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:
getMultipleContentsin interfaceContentService- Throws:
org.projectnessie.error.NessieNotFoundException
-
-