public class ServerBackedApplicationUnderTest extends java.lang.Object implements ApplicationUnderTest, java.io.Closeable
| Constructor and Description |
|---|
ServerBackedApplicationUnderTest(ratpack.func.Factory<ratpack.server.RatpackServer> serverFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.net.URI |
getAddress()
The address of the application under test, which is guaranteed to be accepting requests.
|
void |
stop() |
public ServerBackedApplicationUnderTest(ratpack.func.Factory<ratpack.server.RatpackServer> serverFactory)
public java.net.URI getAddress()
ApplicationUnderTestgetAddress in interface ApplicationUnderTestpublic void stop()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException