Class RestDiffResource

  • All Implemented Interfaces:
    org.projectnessie.api.DiffApi, org.projectnessie.api.http.HttpDiffApi

    @RequestScoped
    public class RestDiffResource
    extends java.lang.Object
    implements org.projectnessie.api.http.HttpDiffApi
    REST endpoint for the diff-API.
    • Constructor Summary

      Constructors 
      Constructor Description
      RestDiffResource()  
      RestDiffResource​(org.projectnessie.services.config.ServerConfig config, org.projectnessie.versioned.VersionStore store, org.projectnessie.services.authz.Authorizer authorizer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.projectnessie.model.DiffResponse getDiff​(org.projectnessie.api.params.DiffParams params)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RestDiffResource

        public RestDiffResource()
      • RestDiffResource

        @Inject
        public RestDiffResource​(org.projectnessie.services.config.ServerConfig config,
                                org.projectnessie.versioned.VersionStore store,
                                org.projectnessie.services.authz.Authorizer authorizer)
    • Method Detail

      • getDiff

        public org.projectnessie.model.DiffResponse getDiff​(org.projectnessie.api.params.DiffParams params)
                                                     throws org.projectnessie.error.NessieNotFoundException
        Specified by:
        getDiff in interface org.projectnessie.api.DiffApi
        Specified by:
        getDiff in interface org.projectnessie.api.http.HttpDiffApi
        Throws:
        org.projectnessie.error.NessieNotFoundException