Interface MockMvcRequestAsyncConfigurer
- All Superinterfaces:
MockMvcRequestSender,io.restassured.specification.RequestSenderOptions<MockMvcResponse>
Options available when sending a request using Mock MVC module.
Includes possibility to send an async request.
- Author:
- Marcin Grzejszczak, Johan Haleby
- See Also:
-
Method Summary
Methods inherited from interface io.restassured.specification.RequestSenderOptions
delete, delete, delete, delete, delete, get, get, get, get, get, head, head, head, head, head, options, options, options, options, options, patch, patch, patch, patch, patch, post, post, post, post, post, put, put, put, put, put, request, request, request, request, request, request, request, request
-
Method Details
-
with
Syntactic sugar -
and
Syntactic sugar -
timeout
Add timeout to async execution - takes precedence over the default setup- Parameters:
duration- The durationtimeUnit- of the duration
-
timeout
Add timeout to async execution - takes precedence over the default setup- Parameters:
durationInMs- The duration in milliseconds
-
then
MockMvcRequestSender then()Return back to request sender
-