RequestMapping class

Annotation for mapping web requests onto specific handler classes and/or handler methods. Provides a consistent style between the different environments, with the semantics adapting to the concrete environment.

Look at the following example, how you can use this:

@RequestMapping(value: "/someurl", method: "GET") void index(ForceRequest req, Model model)

Constructors

RequestMapping({String value: "", String method: "GET"})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
method String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
override

Operators

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