public class EPagesJerseyExternalResource
extends org.junit.rules.ExternalResource
Modifier and Type | Field and Description |
---|---|
private static java.net.URI |
BASE_URI |
private static javax.ws.rs.client.Client |
CLIENT |
private EmbeddedJettyTestContainer |
server |
Constructor and Description |
---|
EPagesJerseyExternalResource(com.google.inject.Module... module) |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
java.lang.String |
getHost() |
<T> T |
getInstance(java.lang.Class<T> type) |
<T> T |
getInstance(com.google.inject.Key<T> type) |
int |
getPort() |
javax.ws.rs.client.WebTarget |
target() |
javax.ws.rs.client.WebTarget |
target(java.lang.String path) |
private static final javax.ws.rs.client.Client CLIENT
private static final java.net.URI BASE_URI
private final EmbeddedJettyTestContainer server
public EPagesJerseyExternalResource(com.google.inject.Module... module)
public void before() throws java.lang.Exception
before
in class org.junit.rules.ExternalResource
java.lang.Exception
public void after()
after
in class org.junit.rules.ExternalResource
public javax.ws.rs.client.WebTarget target()
public java.lang.String getHost()
public int getPort()
public javax.ws.rs.client.WebTarget target(java.lang.String path)
public <T> T getInstance(java.lang.Class<T> type)
public <T> T getInstance(com.google.inject.Key<T> type)