public class HttpTarget
extends BaseTarget
Out-of-the-box implementation of Target, that run Interaction against http service and verify response
testClass, testTarget| Constructor and Description |
|---|
HttpTarget(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
boolean insecure)
Out-of-the-box implementation of Target,
that run Interaction against http service and verify response
|
HttpTarget(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path)
Out-of-the-box implementation of Target,
that run Interaction against http service and verify response
|
HttpTarget(java.lang.String protocol,
java.lang.String host,
int port)
Out-of-the-box implementation of Target,
that run Interaction against http service and verify response
|
HttpTarget(java.lang.String protocol,
java.lang.String host)
Out-of-the-box implementation of Target,
that run Interaction against http service and verify response
|
HttpTarget(java.lang.String protocol)
Out-of-the-box implementation of Target,
that run Interaction against http service and verify response
|
HttpTarget()
Out-of-the-box implementation of Target,
that run Interaction against http service and verify response
|
HttpTarget(java.lang.String host,
int port) |
HttpTarget(int port) |
HttpTarget(java.net.URL url,
boolean insecure) |
HttpTarget(java.net.URL url) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHost() |
boolean |
getInsecure() |
java.lang.String |
getPath() |
int |
getPort() |
java.lang.String |
getProtocol() |
au.com.dius.pact.provider.ProviderInfo |
getProviderInfo(au.com.dius.pact.model.PactSource source) |
au.com.dius.pact.provider.IProviderVerifier |
setupVerifier(au.com.dius.pact.model.Interaction interaction,
au.com.dius.pact.provider.ProviderInfo provider,
au.com.dius.pact.provider.ConsumerInfo consumer) |
void |
testInteraction(java.lang.String consumerName,
au.com.dius.pact.model.Interaction interaction,
au.com.dius.pact.model.PactSource source,
java.util.Map<java.lang.String,? extends java.lang.Object> context)
{@inheritDoc}
|
addResultCallback, getAssertionError, getProviderInfo, getTestClass, getTestTarget, getValueResolver, reportTestResult, setTestClass, setTestClass, setTestTarget, setValueResolver, setupReporters, setupVerifiersetTestClasspublic HttpTarget(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
boolean insecure)
Out-of-the-box implementation of Target, that run Interaction against http service and verify response
public HttpTarget(java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path)
Out-of-the-box implementation of Target, that run Interaction against http service and verify response
public HttpTarget(java.lang.String protocol,
java.lang.String host,
int port)
Out-of-the-box implementation of Target, that run Interaction against http service and verify response
public HttpTarget(java.lang.String protocol,
java.lang.String host)
Out-of-the-box implementation of Target, that run Interaction against http service and verify response
public HttpTarget(java.lang.String protocol)
Out-of-the-box implementation of Target, that run Interaction against http service and verify response
public HttpTarget()
Out-of-the-box implementation of Target, that run Interaction against http service and verify response
public HttpTarget(java.lang.String host,
int port)
port - port of tested servicepublic HttpTarget(int port)
port - port of tested servicepublic HttpTarget(java.net.URL url,
boolean insecure)
url - url of the tested serviceinsecure - true if certificates should be ignoredpublic HttpTarget(java.net.URL url)
url - url of the tested servicepublic void testInteraction(java.lang.String consumerName,
au.com.dius.pact.model.Interaction interaction,
au.com.dius.pact.model.PactSource source,
java.util.Map<java.lang.String,? extends java.lang.Object> context)
{@inheritDoc}
public au.com.dius.pact.provider.IProviderVerifier setupVerifier(au.com.dius.pact.model.Interaction interaction,
au.com.dius.pact.provider.ProviderInfo provider,
au.com.dius.pact.provider.ConsumerInfo consumer)
public au.com.dius.pact.provider.ProviderInfo getProviderInfo(au.com.dius.pact.model.PactSource source)
public java.lang.String getProtocol()
public java.lang.String getHost()
public int getPort()
public java.lang.String getPath()
public boolean getInsecure()