Class 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 Detail

      • SimpleHttpServer

        public SimpleHttpServer​(Repository repository)
        Constructor for SimpleHttpServer.
        Parameters:
        repository -
      • SimpleHttpServer

        public SimpleHttpServer​(Repository repository,
                                boolean withSsl)
        Constructor for SimpleHttpServer.
        Parameters:
        repository -
        withSsl -
    • Method Detail

      • getUri

        public URIish getUri()
        Get the uri.
        Returns:
        the uri
      • getSecureUri

        public URIish getSecureUri()
        Get the secureUri.
        Returns:
        the secure uri