RequestHandler class abstract
An object that can handle requests and produce responses for them.
Clients may not extend, implement or mix-in this class.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
handleRequest(
Request request) → Response -
Attempt to handle the given
request
. If the request is not recognized by this handler, returnnull
so that other handlers will be given a chance to handle it. Otherwise, return the response that should be passed back to the client. -
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