public abstract class ServerBackedApplicationUnderTest extends java.lang.Object implements CloseableApplicationUnderTest
| Constructor and Description |
|---|
ServerBackedApplicationUnderTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shuts down the application under test.
|
protected abstract ratpack.server.RatpackServer |
createServer() |
java.net.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 ratpack.server.RatpackServer createServer()
throws java.lang.Exception
java.lang.Exceptionpublic java.net.URI getAddress()
ApplicationUnderTestgetAddress in interface ApplicationUnderTestpublic void stop()
public void close()
CloseableApplicationUnderTestThe exact meaning of invoking this method is implementation dependent.
close in interface java.lang.AutoCloseableclose in interface CloseableApplicationUnderTest