public class EPagesJTestServer
extends com.epages.plugin.ext.AbstractExternalResource
Modifier and Type | Field and Description |
---|---|
private static java.net.URI |
BASE_URI |
private static javax.ws.rs.client.Client |
CLIENT |
private static org.slf4j.Logger |
log |
private EmbeddedServer |
server |
Constructor and Description |
---|
EPagesJTestServer(com.google.inject.Module... modules) |
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) |
private static java.util.List<com.google.inject.Module> |
getModules(com.google.inject.Module[] modules) |
int |
getPort() |
javax.ws.rs.client.WebTarget |
target() |
javax.ws.rs.client.WebTarget |
target(java.lang.String path) |
private static final org.slf4j.Logger log
private EmbeddedServer server
private static final javax.ws.rs.client.Client CLIENT
private static final java.net.URI BASE_URI
private static java.util.List<com.google.inject.Module> getModules(com.google.inject.Module[] modules)
public void before()
before
in class com.epages.plugin.ext.AbstractExternalResource
public void after()
after
in class com.epages.plugin.ext.AbstractExternalResource
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)