Package org.opennms.core.test.http
Class JUnitServer
- java.lang.Object
-
- org.opennms.core.test.http.JUnitServer
-
public class JUnitServer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JUnitServer(JUnitHttpServer config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPort()
protected void
initializeServerWithConfig(JUnitHttpServer config)
void
start()
void
stop()
-
-
-
Constructor Detail
-
JUnitServer
public JUnitServer(JUnitHttpServer config)
-
-
Method Detail
-
initializeServerWithConfig
protected void initializeServerWithConfig(JUnitHttpServer config)
-
start
public void start() throws java.lang.Exception
- Throws:
java.lang.Exception
-
stop
public void stop() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getPort
public int getPort()
-
-