get
Registers a stub for an HTTP GET request with the specified configuration and request type.
Return
A BuildingStep for further customization and response definition.
Parameters
Stub configuration (name, removal behaviour, verbosity).
The class representing the expected request body type.
Lambda to configure the RequestSpecificationBuilder for the GET request.
Defines a stub for an HTTP GET request with the specified request type and configuration block.
Return
A BuildingStep for further stub customization.
Parameters
Optional name for the stub, used for identification.
The class of the expected request body.
Lambda to configure the RequestSpecificationBuilder.
Defines a stub for an HTTP GET request with a string body using the provided configuration block.
Returns a BuildingStep for further customization of the stubbed GET request.
Defines a stub for an HTTP GET request with the specified configuration and request specification builder.
Return
A BuildingStep for further customization of the stub.
Parameters
The stub configuration for this GET request.
Lambda to configure the request specification builder.