RoutingEntity class

Implementers

Constructors

RoutingEntity(String? pathTemplate, HttpMethod method, Processor processor, {required String? signature})

Properties

hashCode int
The hash code for this object.
no setterinherited
method HttpMethod
this is the method of the handler or middleware not the incoming request method
final
originalSignature String?
no setter
pathTemplate String?
this is the path of the handler or the middleware not the incoming request path the null pathTemplate means that this Middleware will run on every request no matter it's path but the method will restrict this, if you want to make a global middleware just make the pathTemplate to be null and the method to be HttpMethods.all
final
processor Processor
this is the function that will be executed when hitting this routing entity
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signature String?
no setter

Methods

isMyPath(String askedPath, HttpMethod askedMethod) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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