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

asPactRequest() - Method in Message

B

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

C

compatibleTo(Pact) - Method in BasePact
compatibleTo(Pact) - Method in Pact
If this pact is compatible with the other pact.
conflictsWith(Interaction) - Method in Interaction
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 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

empty() - Method in OptionalBody
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 V3Pact
formatContents() - Method in Message
fromInt(int) - Method in PactSpecVersion
fromMap(Map) - Method in Consumer
fromMap(Map) - Method in Message
fromMap(Map) - Method in MessagePact
fromMap(Map) - Method in Provider
fromMap(Map) - Method in Request
fromMap(def) - Method in Response

G

getBody() - Method in HttpPart
getConsumer() - Method in Pact
Returns the consumer of the service for the pact
getContentType() - Method in Message
getDescription() - Method in Interaction
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

H

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

Interaction - Interface in au.com.dius.pact.model
Interface to an interaction between a consumer and a provider
interactionFor(String, String) - Method in RequestResponsePact
interactionToMap(RequestResponseInteraction, PactSpecVersion) - Method in RequestResponsePact
InvalidPactException - Class in au.com.dius.pact.model
Exception class to indicate an invalid pact specification
isEmpty() - Method in OptionalBody
isMissing() - Method in OptionalBody
isNull() - Method in OptionalBody
isPresent() - Method in OptionalBody

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 BasePact
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
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
missing() - Method in OptionalBody
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

nullBody() - Method in OptionalBody

O

objectToMap(def) - Method in BasePact
OptionalBody - Class in au.com.dius.pact.model
Class to represent missing, empty, null and present bodies
OptionalBody.State - Enum in au.com.dius.pact.model
orElse(String) - Method in OptionalBody

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 BasePact
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

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 RequestResponsePact
Response - Class in au.com.dius.pact.model
Response from a provider to a consumer
responseToMap(Response) - Method in RequestResponsePact

S

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

T

toMap() - Method in Message
toMap(PactSpecVersion) - Method in MessagePact
toMap(PactSpecVersion) - Method in Pact
Returns a Map representation of this pact for the purpose of generating a JSON document.
toMap(PactSpecVersion) - Method in RequestResponsePact
toString() - Method in Request
toString() - Method in RequestResponseInteraction
toString() - Method in Response
transformJson(def) - Method in PactReader
transformRequestResponseJson(def) - Method in PactReader

U

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

V

V3Pact - Class in au.com.dius.pact.model.v3
Pact implementing V3 version of the spec
V3Pact(Provider, Consumer, Map) - Constructor in V3Pact

W

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

X

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 _