Constructs an AbstractAsyncHandler.
The async manager instance.
The map of command handler names to method names.
Injected developer utilities for debugging and mock responses.
Map of command handler names to method names.
Injected HTTP fetch utility for async operations.
Reference to the async manager for command completion and cancellation.
Handles HTTP DELETE requests.
The async command containing HTTP arguments.
Private
executeExecutes an HTTP request with the specified method.
The async command containing HTTP arguments.
The HTTP method to use.
Handles HTTP GET requests.
The async command containing HTTP arguments.
Private
getExtracts fetch options from the async command.
The async command containing HTTP arguments.
The fetch options.
Handles an incoming async command by dispatching to the appropriate handler.
The async command to handle.
Handles HTTP HEAD requests.
The async command containing HTTP arguments.
Handles HTTP PATCH requests.
The async command containing HTTP arguments.
Handles HTTP POST requests.
The async command containing HTTP arguments.
Handles HTTP PUT requests.
The async command containing HTTP arguments.
Private
returnReturns a mock response if one is configured for the request.
The async command.
The fetch options.
The request URL.
True if a mock response was returned, false otherwise.
HttpCommands provides async HTTP request handlers for GET, POST, PATCH, PUT, DELETE, and HEAD methods.
Remarks