public class StubServiceBuilder
extends java.lang.Object
RequestResponsePair used within a Hoverfly Simulation. Each builder is locked to a single base URL.| Modifier and Type | Method and Description |
|---|---|
RequestMatcherBuilder |
delete(java.lang.String path)
Creating a DELETE request matcher
|
RequestMatcherBuilder |
get(java.lang.String path)
Creating a GET request matcher
|
java.util.Set<RequestResponsePair> |
getRequestResponsePairs()
Used for retrieving all the requestResponsePairs that the builder contains
|
RequestMatcherBuilder |
patch(java.lang.String path)
Creating a PATCH request matcher
|
RequestMatcherBuilder |
post(java.lang.String path)
Creating a POST request matcher
|
RequestMatcherBuilder |
put(java.lang.String path)
Creating a PUT request matcher
|
public RequestMatcherBuilder get(java.lang.String path)
path - the path you want the matcher to haveRequestMatcherBuilder for further customizationspublic RequestMatcherBuilder delete(java.lang.String path)
path - the path you want the matcher to haveRequestMatcherBuilder for further customizationspublic RequestMatcherBuilder put(java.lang.String path)
path - the path you want the matcher to haveRequestMatcherBuilder for further customizationspublic RequestMatcherBuilder post(java.lang.String path)
path - the path you want the matcher to haveRequestMatcherBuilder for further customizationspublic RequestMatcherBuilder patch(java.lang.String path)
path - the path you want the matcher to haveRequestMatcherBuilder for further customizationspublic java.util.Set<RequestResponsePair> getRequestResponsePairs()
RequestResponsePair