JavaScript is disabled on your browser.
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
addCategory(Category)
- Method in
MatchingRules
address()
- Method in
MockProviderConfig
asPactRequest()
- Method in
Message
B
BasePact
- Class in
au.com.dius.pact.model
Base Pact class
BasePact(Provider, Consumer, Map)
- Constructor in
BasePact
C
compareTo(Object)
- Method in
Request
compatibleTo(Pact)
- Method in
BasePact
conflictsWith(Interaction)
- Method in
Message
conflictsWith(Interaction)
- Method in
RequestResponseInteraction
contentsAsBytes()
- Method in
Message
convertToMap(def)
- Method in
BasePact
cookie()
- Method in
Request
copy()
- Method in
MatchingRules
copy()
- Method in
Request
copy()
- Method in
Response
create(String, int, int, PactSpecVersion)
- Method in
MockProviderConfig
@deprecated Set the port to zero to get the OS to assign a random port
createDefault(String, PactSpecVersion)
- Method in
MockProviderConfig
D
DEFAULT_METADATA
- Field in
BasePact
detectContentType()
- Method in
HttpPart
displayState()
- Method in
RequestResponseInteraction
E
extractBody(def)
- Method in
PactReader
extractRequestV2(def)
- Method in
PactReader
extractRequestV3(def)
- Method in
PactReader
extractResponse(def)
- Method in
PactReader
F
fileForPact(String)
- Method in
BasePact
formatContents()
- Method in
Message
fromMap(Map)
- Method in
MatchingRules
Constructs the matching rules from a Map
fromMap(Map)
- Method in
Message
Builds a message from a Map
fromMap(Map)
- Method in
MessagePact
fromMap(Map)
- Method in
Request
fromMap(def)
- Method in
Response
fromV2Map(Map)
- Method in
MatchingRules
Loads from V2 format matching rules
fromV3Map(Map)
- Method in
MatchingRules
Loads from V3 format matching rules
G
generatedResponse()
- Method in
Response
getBody()
- Method in
HttpPart
getCategories()
- Method in
MatchingRules
getContentType()
- Method in
Message
getHeaders()
- Method in
HttpPart
getInteractions()
- Method in
MessagePact
getKeystore()
- Method in
MockHttpsKeystoreProviderConfig
Returns:
The String value of the keystore path and file.
getKeystorePassword()
- Method in
MockHttpsKeystoreProviderConfig
@return The password for the keystore
getMatchingRules()
- Method in
HttpPart
getProviderState()
- Method in
Message
getProviderState()
- Method in
RequestResponseInteraction
H
hasCategory(String)
- Method in
MatchingRules
headersWithoutCookie()
- Method in
Request
httpConfig(String, int, PactSpecVersion)
- Method in
MockProviderConfig
HttpPart
- Class in
au.com.dius.pact.model
Base trait for an object that represents part of an http message
httpsConfig(String, int, PactSpecVersion)
- Method in
MockHttpsProviderConfig
httpsKeystoreConfig(String, int, String, String, PactSpecVersion)
- Method in
MockHttpsKeystoreProviderConfig
Creates instance of config
I
interactionFor(String, String)
- Method in
RequestResponsePact
isEmpty()
- Method in
MatchingRules
If the rules are empty
isNotEmpty()
- Method in
MatchingRules
If the rules are not empty
J
jsonBody()
- Method in
HttpPart
K
L
loadPact(Map, def)
- Method in
PactReader
Loads a pact file from either a File or a URL
loadV2Pact(def, def)
- Method in
PactReader
loadV3Pact(def, def)
- Method in
PactReader
LOCALHOST
- Field in
MockProviderConfig
lookupVersion()
- Method in
BasePact
M
mapToQueryStr(Map<String, List<String>>)
- Method in
RequestResponseInteraction
MatchingRules
- Class in
au.com.dius.pact.model.matchingrules
Class that encapsulates the matching rules to be applied
mergeInteractions(List<Interaction>)
- Method in
MessagePact
mergeInteractions(List<Interaction>)
- Method in
RequestResponsePact
mergePact(Pact)
- Method in
MessagePact
mergePacts(Map, File)
- Method in
BasePact
Message
- Class in
au.com.dius.pact.model.v3.messaging
Message in a Message Pact
MessagePact
- Class in
au.com.dius.pact.model.v3.messaging
Pact for a sequences of messages
MessagePact(Provider, Consumer, List<Message>, Map)
- Constructor in
MessagePact
metaData(String)
- Method in
BasePact
mimeType()
- Method in
HttpPart
MockHttpsKeystoreProviderConfig
- Class in
au.com.dius.pact.model
Mock Provider configuration for HTTPS using a keystore
MockHttpsKeystoreProviderConfig(String, int, String, String, PactSpecVersion)
- Constructor in
MockHttpsKeystoreProviderConfig
MockHttpsProviderConfig
- Class in
au.com.dius.pact.model
Mock Provider configuration for HTTPS
MockHttpsProviderConfig(SelfSignedCertificate, String, int, PactSpecVersion)
- Constructor in
MockHttpsProviderConfig
MockProviderConfig
- Class in
au.com.dius.pact.model
Configuration of the Pact Mock Server.
N
O
objectToMap(def)
- Method in
BasePact
P
PactReader
- Class in
au.com.dius.pact.model
Class to load a Pact from a JSON source using a version strategy
parseBody(HttpPart)
- Method in
RequestResponseInteraction
portLowerBound
- Field in
MockProviderConfig
@deprecated Set the port to zero to get the OS to assign a random port
portUpperBound
- Field in
MockProviderConfig
@deprecated Set the port to zero to get the OS to assign a random port
Q
queryStringToMap(String, boolean)
- Method in
PactReader
R
randomPort(int, int)
- Method in
MockProviderConfig
@deprecated Set the port to zero to get the OS to assign a random port
Request
- Class in
au.com.dius.pact.model
Request made by a consumer to a provider
RequestResponseInteraction
- Class in
au.com.dius.pact.model
Interaction between a consumer and a provider
RequestResponsePact
- Class in
au.com.dius.pact.model
Pact between a consumer and a provider
RequestResponsePact(Provider, Consumer, List<RequestResponseInteraction>, Map)
- Constructor in
RequestResponsePact
requestToMap(Request, PactSpecVersion)
- Method in
RequestResponseInteraction
Response
- Class in
au.com.dius.pact.model
Response from a provider to a consumer
responseToMap(Response, PactSpecVersion)
- Method in
RequestResponseInteraction
rulesForCategory(String)
- Method in
MatchingRules
S
setDefaultMimeType(String)
- Method in
HttpPart
setHeaders(Map<String, String>)
- Method in
HttpPart
sortInteractions()
- Method in
MessagePact
sortInteractions()
- Method in
RequestResponsePact
T
toMap(PactSpecVersion)
- Method in
MatchingRules
toMap(PactSpecVersion)
- Method in
Message
toMap(PactSpecVersion)
- Method in
MessagePact
toMap(PactSpecVersion)
- Method in
RequestResponseInteraction
toMap(PactSpecVersion)
- Method in
RequestResponsePact
toString()
- Method in
MatchingRules
toString()
- Method in
Request
toString()
- Method in
RequestResponseInteraction
toString()
- Method in
Response
toV2Map()
- Method in
MatchingRules
toV3Map()
- Method in
MatchingRules
transformJson(def)
- Method in
PactReader
transformRequestResponseJson(def)
- Method in
PactReader
U
uniqueKey()
- Method in
Message
uniqueKey()
- Method in
RequestResponseInteraction
url()
- Method in
MockProviderConfig
V
W
write(String, PactSpecVersion)
- Method in
BasePact
X
xmlBody()
- Method in
HttpPart
Y
Z
_
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
Groovy Documentation