RestOperations class Null safety

Implementers

Constructors

RestOperations()
RestOperations.withName(String name)

Properties

componentName String?
read / write
counters ↔ CompositeCounters
read / write
dependencyResolver ↔ DependencyResolver
read / write
hashCode int
The hash code for this object.
read-onlyinherited
logger ↔ CompositeLogger
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

configure(ConfigParams config) → void
Configures component by passing configuration parameters.
getCorrelationId(Request req) String?
Returns correlationId from request
getFilterParams(Request req) → FilterParams
getPagingParams(Request req) → PagingParams
instrument(String? correlationId, String name) → CounterTiming
instrumentError(String? correlationId, String name, dynamic err, [bool? reerror = false]) → void
invoke(String operation) → dynamic Function(Request req)
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
safeInvoke(Request req, String name, dynamic operation(), dynamic error(Exception err)) Future
sendBadRequest(Request req, String message) FutureOr<Response>
sendConflict(Request req, String message) FutureOr<Response>
sendCreatedResult(Request req, dynamic err, dynamic result) FutureOr<Response>
sendDeletedResult(Request req, dynamic err, dynamic result) FutureOr<Response>
sendEmptyResult(Request req, dynamic err) FutureOr<Response>
sendError(Request req, dynamic error) FutureOr<Response>
sendInternalError(Request req, String message) FutureOr<Response>
sendNotFound(Request req, String message) FutureOr<Response>
sendResult(Request req, dynamic err, dynamic result) FutureOr<Response>
sendServerUnavailable(Request req, String message) FutureOr<Response>
sendSessionExpired(Request req, String message) FutureOr<Response>
sendUnauthorized(Request req, String message) FutureOr<Response>
setReferences(IReferences references) → void
Sets references to dependent components.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited