org.eclipse.jgit.http.server.resolver
Class DefaultUploadPackFactory

java.lang.Object
  extended by org.eclipse.jgit.http.server.resolver.DefaultUploadPackFactory
All Implemented Interfaces:
UploadPackFactory<javax.servlet.http.HttpServletRequest>

public class DefaultUploadPackFactory
extends java.lang.Object
implements UploadPackFactory<javax.servlet.http.HttpServletRequest>

Create and configure UploadPack service instance.

Reading by upload-pack is permitted unless http.uploadpack is explicitly set to false.


Field Summary
 
Fields inherited from interface org.eclipse.jgit.transport.resolver.UploadPackFactory
DISABLED
 
Constructor Summary
DefaultUploadPackFactory()
           
 
Method Summary
 UploadPack create(javax.servlet.http.HttpServletRequest req, Repository db)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultUploadPackFactory

public DefaultUploadPackFactory()
Method Detail

create

public UploadPack create(javax.servlet.http.HttpServletRequest req,
                         Repository db)
                  throws ServiceNotEnabledException,
                         ServiceNotAuthorizedException
Specified by:
create in interface UploadPackFactory<javax.servlet.http.HttpServletRequest>
Throws:
ServiceNotEnabledException
ServiceNotAuthorizedException


Copyright © 2011. All Rights Reserved.