Class SimpleHttpServer
java.lang.Object
org.eclipse.jgit.junit.http.SimpleHttpServer
Simple http server for testing http access to Git repositories.
Authentication with hardcoded credentials user:agitter password:letmein.
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleHttpServer(Repository repository) Constructor forSimpleHttpServer.SimpleHttpServer(Repository repository, boolean withSsl) Constructor forSimpleHttpServer. -
Method Summary
-
Constructor Details
-
SimpleHttpServer
Constructor forSimpleHttpServer.- Parameters:
repository-
-
SimpleHttpServer
Constructor forSimpleHttpServer.- Parameters:
repository-withSsl-
-
-
Method Details
-
start
-
stop
-
getUri
-
getSecureUri
-