Package | Description |
---|---|
org.springframework.cloud.contract.wiremock |
Modifier and Type | Method and Description |
---|---|
WireMockRestServiceServer |
WireMockRestServiceServer.baseUrl(String baseUrl)
Add a base url to all requests.
|
WireMockRestServiceServer |
WireMockRestServiceServer.files(String... locations)
Add some resource locations for files that represent response bodies.
|
WireMockRestServiceServer |
WireMockRestServiceServer.ignoreExpectOrder(boolean ignoreExpectOrder)
Flag to tell the MockRestServiceServer to ignore the order of calls when matching
requests.
|
WireMockRestServiceServer |
WireMockRestServiceServer.stubs(String... locations)
Add some resource locations for stubs.
|
WireMockRestServiceServer |
WireMockRestServiceServer.suffix(String suffix)
If stub locations are given as a directory, then we search recursively in that
directory for files with this suffix.
|
static WireMockRestServiceServer |
WireMockRestServiceServer.with(org.springframework.web.client.RestTemplate restTemplate)
Public factory method for wrapping a rest template into a MockRestServiceServer.
|
Copyright © 2016–2018 Spring. All rights reserved.