List of usage examples for org.apache.commons.httpclient.server SimpleHttpServer isRunning
public boolean isRunning()
From source file:org.eclipse.ecf.tests.remoteservice.rest.service.RestServiceTest.java
public void testServerCreation() { assertNotNull(service);//from w w w.jav a 2 s.c o m SimpleHttpServer server = service.getServer(); assertNotNull(server); assertTrue(server.isRunning()); }
From source file:org.eclipse.ecf.tests.remoteservice.rest.service.RestServiceTest.java
public void testStart() { SimpleHttpServer server = service.getServer(); assertNotNull(server); service.run(); assertTrue(server.isRunning()); }