Bind class

Binds elements of an HTTP request to a ResourceController's operation method arguments and properties.

See individual constructors and ResourceController for more details.

Constructors

Bind.body({List<String> ignore, List<String> reject, List<String> require })
Binds an HTTP request body to an ResourceController property or operation method argument. [...]
const
Bind.header(String name)
Binds an HTTP request header to an ResourceController property or operation method argument. [...]
const
Bind.path(String name)
Binds a route variable from RequestPath.variables to an ResourceController operation method argument. [...]
const
Bind.query(String name)
Binds an HTTP query parameter to an ResourceController property or operation method argument. [...]
const

Properties

ignore → List<String>
final
name → String
final
reject → List<String>
final
require → List<String>
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

bindToType(ClassMirror typeMirror) → BoundInput
Used internally
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited