Example usage for org.eclipse.jgit.http.server.resolver DefaultUploadPackFactory DefaultUploadPackFactory

List of usage examples for org.eclipse.jgit.http.server.resolver DefaultUploadPackFactory DefaultUploadPackFactory

Introduction

In this page you can find the example usage for org.eclipse.jgit.http.server.resolver DefaultUploadPackFactory DefaultUploadPackFactory.

Prototype

DefaultUploadPackFactory

Source Link

Usage

From source file:com.cisco.step.jenkins.plugins.jenkow.JenkowWorkflowRepository.java

License:Open Source License

/**
 * But pull access is open to anyone//from ww  w  . j a  v  a 2  s  .  c  o  m
 */
@Override
public UploadPack createUploadPack(HttpServletRequest context, Repository db)
        throws ServiceNotEnabledException, ServiceNotAuthorizedException {
    return new DefaultUploadPackFactory().create(context, db);
}