StatusOperations

Handles status requests for REST operations.

Extends: RestOperations

Description

The StatusOperations class allows you to handle status requests for REST operations.

Instance methods

getStatusOperation

Gets the status of the operation.

Function(shelf.Request req) getStatusOperation()

  • returns: Function(shelf.Request req) - status operation method

setReferences

Sets references to dependent components.

void setReferences(IReferences references)

  • references: IReferences - references to locate the component dependencies.

status

Handles status requests.

FutureOr<shelf.Response> status(shelf.Request req)

  • req: shelf.Request - HTTP request context
  • returns: FutureOr<shelf.Response> - HTTP response context