Package org.eclipse.jgit.pgm.debug
Class LfsStore.AppServer
- java.lang.Object
-
- org.eclipse.jgit.pgm.debug.LfsStore.AppServer
-
- Enclosing class:
- LfsStore
static class LfsStore.AppServer extends java.lang.ObjectTiny web application server for testing
-
-
Constructor Summary
Constructors Constructor Description AppServer(int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) org.eclipse.jetty.servlet.ServletContextHandleraddContext(java.lang.String path)Create a new servlet context within the server.private voidassertNotRunning()(package private) java.net.URIgetURI()(package private) voidstart()(package private) voidstop()
-
-
-
Method Detail
-
addContext
org.eclipse.jetty.servlet.ServletContextHandler addContext(java.lang.String path)
Create a new servlet context within the server.This method should be invoked before the server is started, once for each context the caller wants to register.
- Parameters:
path- path of the context; use "/" for the root context if binding to the root is desired.- Returns:
- the context to add servlets into.
-
start
void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
stop
void stop() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getURI
java.net.URI getURI()
-
assertNotRunning
private void assertNotRunning()
-
-