public class DefaultUploadPackFactory extends Object implements UploadPackFactory<javax.servlet.http.HttpServletRequest>
UploadPack service
 instance.
 
 Reading by upload-pack is permitted unless http.uploadpack is
 explicitly set to false.
DISABLED| Constructor and Description | 
|---|
DefaultUploadPackFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
UploadPack | 
create(javax.servlet.http.HttpServletRequest req,
      Repository db)
Create and configure a new UploadPack instance for a repository. 
 | 
public UploadPack create(javax.servlet.http.HttpServletRequest req, Repository db) throws ServiceNotEnabledException, ServiceNotAuthorizedException
create in interface UploadPackFactory<javax.servlet.http.HttpServletRequest>req - current request, in case information from the request may help
            configure the UploadPack instance.db - the repository the upload would read from.ServiceNotEnabledException - this factory refuses to create the instance because it is not
             allowed on the target repository, by any user.ServiceNotAuthorizedException - this factory refuses to create the instance for this HTTP
             request and repository, such as due to a permission error.Copyright © 2020 Eclipse JGit Project. All rights reserved.