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
addRule(MatchingRule) - Method in Category
addRules(String, List<MatchingRule>) - Method in Category
allMatchingRules() - Method in Category
applyMatcherRootPrefix(String) - Method in Category
asPactRequest() - Method in Message

B

BasePact - Class in au.com.dius.pact.model
Base Pact class
BasePact(Provider, Consumer, Map) - Constructor in BasePact

C

Category - Class in au.com.dius.pact.model.matchingrules
Matching rules category
compatibleTo(Pact) - Method in BasePact
compatibleTo(Pact) - Method in Pact
If this pact is compatible with the other pact.
conflictsWith(Interaction) - Method in Interaction
Checks if this interaction conflicts with the other one.
conflictsWith(Interaction) - Method in Message
conflictsWith(Interaction) - Method in RequestResponseInteraction
Consumer - Class in au.com.dius.pact.model
Pact Consumer
contentsAsBytes() - Method in Message
convertToMap(def) - Method in BasePact
cookie() - Method in Request
copy() - Method in Category
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

DateMatcher - Class in au.com.dius.pact.model.matchingrules
Matching Rule for dates
DEFAULT_METADATA - Field in BasePact
detectContentType() - Method in HttpPart
displayState() - Method in RequestResponseInteraction

E

EqualsMatcher - Class in au.com.dius.pact.model.matchingrules
Matching rule for equality
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
filter(Predicate<String>) - Method in Category
formatContents() - Method in Message
fromInt(int) - Method in PactSpecVersion
fromMap(Map) - Method in Consumer
fromMap(Map) - Method in MatchingRules
Constructs the matching rules from a Map
fromMap(Map) - Method in MatchingRuleUtil
fromMap(Map) - Method in Message
Builds a message from a Map
fromMap(Map) - Method in MessagePact
fromMap(Map) - Method in Provider
fromMap(Map) - Method in ProviderState
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
getConsumer() - Method in Pact
Returns the consumer of the service for the pact
getContentType() - Method in Message
getDescription() - Method in Interaction
Interaction description
getHeaders() - Method in HttpPart
getInteractions() - Method in MessagePact
getInteractions() - Method in Pact
Returns all the interactions of the pact
getMatchingRules() - Method in HttpPart
getProvider() - Method in Pact
Returns the provider of the service for the pact
getProviderState() - Method in Interaction
This just returns the first description from getProviderStates()
getProviderState() - Method in Message
getProviderState() - Method in RequestResponseInteraction
getProviderStates() - Method in Interaction
Returns the provider states for this interaction

H

hasCategory(String) - Method in MatchingRules
headersWithoutCookie() - Method in Request
httpConfig(String, int, PactSpecVersion) - Method in MockProviderConfig
HttpPart - Trait 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

I

IncludeMatcher - Class in au.com.dius.pact.model.matchingrules
Regular Expression Matcher
Interaction - Interface in au.com.dius.pact.model
Interface to an interaction between a consumer and a provider
interactionFor(String, String) - Method in RequestResponsePact
InvalidPactException - Class in au.com.dius.pact.model
Exception class to indicate an invalid pact specification
isEmpty() - Method in Category
If the rules are empty
isEmpty() - Method in MatchingRules
If the rules are empty
isNotEmpty() - Method in Category
If the rules are not 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
lookupVersion() - Method in BasePact

M

mapToQueryStr(Map<String, List<String>>) - Method in RequestResponseInteraction
MatchingRule - Trait in au.com.dius.pact.model.matchingrules
Matching rule
MatchingRules - Class in au.com.dius.pact.model.matchingrules
Class that encapsulates the matching rules to be applied
MatchingRuleUtil - Class in au.com.dius.pact.model.matchingrules
Utility class for matching rules
maxBy(ToIntFunction<String>) - Method in Category
MaxTypeMatcher - Class in au.com.dius.pact.model.matchingrules
Type matching with a maximum size
merge(Pact, Pact) - Method in PactMerge
mergeInteractions(List<Interaction>) - Method in MessagePact
mergeInteractions(List<Interaction>) - Method in Pact
Merges all the interactions into this Pact
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
MinMaxTypeMatcher - Class in au.com.dius.pact.model.matchingrules
Type matcher with a minimum size and maximum size
MinTypeMatcher - Class in au.com.dius.pact.model.matchingrules
Type matcher with a minimum size
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

NumberTypeMatcher - Class in au.com.dius.pact.model.matchingrules
Type matching for numbers
NumberTypeMatcher.NumberType - Enum in au.com.dius.pact.model.matchingrules

O

objectToMap(def) - Method in BasePact

P

Pact - Interface in au.com.dius.pact.model
Interface to a pact
PactMerge - Class in au.com.dius.pact.model
Utility class for merging two pacts together, checking for conflicts
PactMerge.MergeResult - Class in au.com.dius.pact.model
PactReader - Class in au.com.dius.pact.model
Class to load a Pact from a JSON source using a version strategy
PactSpecVersion - Enum in au.com.dius.pact.model
Pact Specification Version
PactWriter - Class in au.com.dius.pact.model
Class to write out a pact to a file
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
Provider - Class in au.com.dius.pact.model
Pact provider
ProviderState - Class in au.com.dius.pact.model
Class that encapsulates all the info about a provider state

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
RegexMatcher - Class in au.com.dius.pact.model.matchingrules
Regular Expression Matcher
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
RuleLogic - Enum in au.com.dius.pact.model.matchingrules
Logic to use to combine rules
rulesForCategory(String) - Method in MatchingRules

S

setDefaultMimeType(String) - Method in HttpPart
setHeaders(Map<String, String>) - Method in HttpPart
setRule(MatchingRule) - Method in Category
sortInteractions() - Method in MessagePact
sortInteractions() - Method in Pact
Returns a pact with the interactions sorted
sortInteractions() - Method in RequestResponsePact

T

TimeMatcher - Class in au.com.dius.pact.model.matchingrules
Matcher for time values
TimestampMatcher - Class in au.com.dius.pact.model.matchingrules
Matching rule for timestamp values
toMap(PactSpecVersion) - Method in Category
toMap() - Method in DateMatcher
toMap() - Method in EqualsMatcher
toMap() - Method in IncludeMatcher
toMap(PactSpecVersion) - Method in Interaction
Converts this interaction to a Map
toMap() - Method in MatchingRule
toMap(PactSpecVersion) - Method in MatchingRules
toMap() - Method in MaxTypeMatcher
toMap(PactSpecVersion) - Method in Message
toMap(PactSpecVersion) - Method in MessagePact
toMap() - Method in MinMaxTypeMatcher
toMap() - Method in MinTypeMatcher
toMap() - Method in NumberTypeMatcher
toMap(PactSpecVersion) - Method in Pact
Returns a Map representation of this pact for the purpose of generating a JSON document.
toMap() - Method in ProviderState
toMap() - Method in RegexMatcher
toMap(PactSpecVersion) - Method in RequestResponseInteraction
toMap(PactSpecVersion) - Method in RequestResponsePact
toMap() - Method in TimeMatcher
toMap() - Method in TimestampMatcher
toMap() - Method in TypeMatcher
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
TypeMatcher - Class in au.com.dius.pact.model.matchingrules
Matcher for types

U

uniqueKey() - Method in Interaction
uniqueKey() - Method in Message
uniqueKey() - Method in RequestResponseInteraction
url() - Method in MockProviderConfig

V

W

write(String) - Method in BasePact
writePact(Pact, PrintWriter, PactSpecVersion) - Method in PactWriter
Writes out the pact to the provided pact file

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 _