public abstract class ServerBackedApplicationUnderTest extends Object implements CloseableApplicationUnderTest
| Constructor and Description |
|---|
ServerBackedApplicationUnderTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shuts down the application under test.
|
protected abstract RatpackServer |
createServer() |
URI |
getAddress()
The address of the application under test, which is guaranteed to be accepting requests.
|
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittestgetHttpClient, of, of, of, ofprotected abstract RatpackServer createServer() throws Exception
Exceptionpublic URI getAddress()
ApplicationUnderTestgetAddress in interface ApplicationUnderTestpublic void stop()
public void close()
CloseableApplicationUnderTestThe exact meaning of invoking this method is implementation dependent.
close in interface AutoCloseableclose in interface CloseableApplicationUnderTest