public class PactDslRequestWithPath
extends PactDslRequestBase
CONTENT_TYPE, defaultRequestValues, query, requestBody, requestGenerators, requestHeaders, requestMatchers, requestMethod| Modifier and Type | Method and Description |
|---|---|
PactDslRequestWithPath |
body()
The body of the request
|
PactDslRequestWithPath |
body()
The body of the request
|
PactDslRequestWithPath |
body()
The body of the request
|
PactDslRequestWithPath |
body()
The body of the request
|
PactDslRequestWithPath |
body()
The body of the request
|
PactDslRequestWithPath |
body()
The body of the request
|
PactDslRequestWithPath |
body()
The body of the request
|
PactDslRequestWithPath |
body()
The body of the request
|
PactDslRequestWithPath |
body()
The body of the request
|
PactDslRequestWithPath |
bodyWithSingleQuotes()
The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.
|
PactDslRequestWithPath |
bodyWithSingleQuotes()
The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.
|
PactDslRequestWithPath |
bodyWithSingleQuotes()
The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.
|
PactDslRequestWithPath |
encodedQuery()
The encoded query string for the request
|
PactDslRequestWithPath |
headerFromProviderState()
Adds a header that will have it's value injected from the provider state
|
PactDslRequestWithPath |
headers()
Headers to be included in the request
|
PactDslRequestWithPath |
headers()
Headers to be included in the request
|
PactDslRequestWithPath |
matchHeader()
Match a request header. A random example header value will be generated from the provided regular expression.
|
PactDslRequestWithPath |
matchHeader()
Match a request header.
|
PactDslRequestWithPath |
matchPath()
The path of the request. This will generate a random path to use when generating requests
|
PactDslRequestWithPath |
matchPath()
The path of the request
|
PactDslRequestWithPath |
matchQuery()
Match a query parameter with a regex. A random query parameter value will be generated from the regex.
|
PactDslRequestWithPath |
matchQuery()
Match a query parameter with a regex.
|
PactDslRequestWithPath |
matchQuery()
Match a repeating query parameter with a regex.
|
PactDslRequestWithPath |
method()
The HTTP method for the request
|
PactDslRequestWithPath |
path()
The path of the request
|
PactDslRequestWithPath |
pathFromProviderState()
Sets the path to have it's value injected from the provider state
|
PactDslRequestWithPath |
query()
The query string for the request
|
PactDslRequestWithPath |
queryMatchingDate()
Matches a date field using the provided date pattern
|
PactDslRequestWithPath |
queryMatchingDate()
Matches a date field using the provided date pattern. The current system date will be used for the example value.
|
PactDslRequestWithPath |
queryMatchingDatetime()
Matches a datetime field using the provided pattern
|
PactDslRequestWithPath |
queryMatchingDatetime()
Matches a datetime field using the provided pattern. The current system date and time will be used for the example value.
|
PactDslRequestWithPath |
queryMatchingISODate()
Matches a date field using the ISO date pattern
|
PactDslRequestWithPath |
queryMatchingISODate()
Matches a date field using the ISO date pattern. The current system date will be used for the example value.
|
PactDslRequestWithPath |
queryMatchingISODatetime()
Matches a datetime field using the ISO pattern
|
PactDslRequestWithPath |
queryMatchingISODatetime()
Matches a datetime field using the ISO pattern. The current system date and time will be used for the example value.
|
PactDslRequestWithPath |
queryMatchingISOTime()
Matches a time field using the ISO time pattern
|
PactDslRequestWithPath |
queryMatchingTime()
Matches a time field using the provided time pattern
|
PactDslRequestWithPath |
queryMatchingTime()
Matches a time field using the provided time pattern. The current system time will be used for the example value.
|
PactDslRequestWithPath |
queryMatchingTime()
Matches a time field using the ISO time pattern. The current system time will be used for the example value.
|
PactDslRequestWithPath |
queryParameterFromProviderState()
Adds a query parameter that will have it's value injected from the provider state
|
PactDslResponse |
willRespondWith()
Define the response to return
|
PactDslRequestWithPath |
withFileUpload()
Sets up a file upload request. This will add the correct content type header to the request
|
queryMatchingDateBase, queryMatchingDatetimeBase, queryMatchingTimeBase, setupDefaultValues, setupFileUploadpublic PactDslRequestWithPath method()
The HTTP method for the request
public PactDslRequestWithPath headers()
Headers to be included in the request
public PactDslRequestWithPath headers()
Headers to be included in the request
public PactDslRequestWithPath query()
The query string for the request
public PactDslRequestWithPath encodedQuery()
The encoded query string for the request
public PactDslRequestWithPath body()
The body of the request
public PactDslRequestWithPath body()
The body of the request
public PactDslRequestWithPath body()
The body of the request
public PactDslRequestWithPath body()
The body of the request
public PactDslRequestWithPath body()
The body of the request
public PactDslRequestWithPath body()
The body of the request
public PactDslRequestWithPath bodyWithSingleQuotes()
The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.
public PactDslRequestWithPath bodyWithSingleQuotes()
The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.
public PactDslRequestWithPath bodyWithSingleQuotes()
The body of the request with possible single quotes as delimiters and using QuoteUtil to convert single quotes to double quotes if required.
public PactDslRequestWithPath body()
The body of the request
public PactDslRequestWithPath body()
The body of the request
public PactDslRequestWithPath body()
The body of the request
public PactDslRequestWithPath path()
The path of the request
public PactDslRequestWithPath matchPath()
The path of the request. This will generate a random path to use when generating requests
public PactDslRequestWithPath matchPath()
The path of the request
public PactDslRequestWithPath matchHeader()
Match a request header. A random example header value will be generated from the provided regular expression.
public PactDslRequestWithPath matchHeader()
Match a request header.
public PactDslResponse willRespondWith()
Define the response to return
public PactDslRequestWithPath matchQuery()
Match a query parameter with a regex. A random query parameter value will be generated from the regex.
public PactDslRequestWithPath matchQuery()
Match a query parameter with a regex.
public PactDslRequestWithPath matchQuery()
Match a repeating query parameter with a regex.
public PactDslRequestWithPath withFileUpload()
Sets up a file upload request. This will add the correct content type header to the request
public PactDslRequestWithPath headerFromProviderState()
Adds a header that will have it's value injected from the provider state
public PactDslRequestWithPath queryParameterFromProviderState()
Adds a query parameter that will have it's value injected from the provider state
public PactDslRequestWithPath pathFromProviderState()
Sets the path to have it's value injected from the provider state
public PactDslRequestWithPath queryMatchingDate()
Matches a date field using the provided date pattern
public PactDslRequestWithPath queryMatchingDate()
Matches a date field using the provided date pattern. The current system date will be used for the example value.
public PactDslRequestWithPath queryMatchingTime()
Matches a time field using the provided time pattern
public PactDslRequestWithPath queryMatchingTime()
Matches a time field using the provided time pattern. The current system time will be used for the example value.
public PactDslRequestWithPath queryMatchingDatetime()
Matches a datetime field using the provided pattern
public PactDslRequestWithPath queryMatchingDatetime()
Matches a datetime field using the provided pattern. The current system date and time will be used for the example value.
public PactDslRequestWithPath queryMatchingISODate()
Matches a date field using the ISO date pattern
public PactDslRequestWithPath queryMatchingISODate()
Matches a date field using the ISO date pattern. The current system date will be used for the example value.
public PactDslRequestWithPath queryMatchingISOTime()
Matches a time field using the ISO time pattern
public PactDslRequestWithPath queryMatchingTime()
Matches a time field using the ISO time pattern. The current system time will be used for the example value.
public PactDslRequestWithPath queryMatchingISODatetime()
Matches a datetime field using the ISO pattern
public PactDslRequestWithPath queryMatchingISODatetime()
Matches a datetime field using the ISO pattern. The current system date and time will be used for the example value.