org.eclipse.jgit.junit.http
Class SimpleHttpServer

java.lang.Object
  extended by org.eclipse.jgit.junit.http.SimpleHttpServer

public class SimpleHttpServer
extends Object

Simple http server for testing http access to Git repositories. Authentication with hardcoded credentials user:agitter password:letmein.


Constructor Summary
SimpleHttpServer(FileRepository repository)
           
 
Method Summary
 URIish getUri()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleHttpServer

public SimpleHttpServer(FileRepository repository)
Method Detail

start

public void start()
           throws Exception
Throws:
Exception

stop

public void stop()
          throws Exception
Throws:
Exception

getUri

public URIish getUri()


Copyright © 2011. All Rights Reserved.