BaseController.mapAction

Maps an action to a http method by a name.

  1. void mapAction(HttpMethod method, string action, Action fun)
  2. void mapAction(HttpMethod method, string action, Status delegate() d)
  3. void mapAction(HttpMethod method, string action, Status function() f)
    class BaseController
    protected final
    void
    mapAction
    (
    HttpMethod method
    ,
    string action
    ,
    Status function
    ()
    f
    )

Parameters

method HttpMethod

The http method.

action string

The action name.

f Status function
()

The controller action associated with the mapping.

Meta