org.eclipse.jgit.junit.http
Class SimpleHttpServer

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

public class SimpleHttpServer
extends java.lang.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 java.lang.Exception
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Throws:
java.lang.Exception

getUri

public URIish getUri()


Copyright © 2011. All Rights Reserved.