put
Defines a PUT stub that matches a typed request body of type P.
Return
A BuildingStep for response configuration and stub registration.
Parameters
Optional identifier for this stub.
The KClass of the expected request body.
Lambda to configure the RequestSpecificationBuilder.
Type Parameters
The expected type of the request body.
Defines a PUT stub that matches a typed request body of type P using a full StubConfiguration.
Return
A BuildingStep for response configuration and stub registration.
Parameters
The StubConfiguration controlling stub behaviour (name, priority, etc.).
The KClass of the expected request body.
Lambda to configure the RequestSpecificationBuilder.
Type Parameters
The expected type of the request body.
Defines a PUT stub with a String request body.
Return
A BuildingStep for response configuration and stub registration.
Parameters
Lambda to configure the RequestSpecificationBuilder.
Defines a PUT stub with a String request body and a full StubConfiguration.
Return
A BuildingStep for response configuration and stub registration.
Parameters
The StubConfiguration controlling stub behaviour (name, priority, etc.).
Lambda to configure the RequestSpecificationBuilder.