hunt.framework.controller.Controller

Undocumented in source.

Public Imports

hunt.framework.http.Response
public import hunt.framework.http.Response;
Undocumented in source.
hunt.http.server
public import hunt.http.server;
Undocumented in source.
hunt.http.routing
public import hunt.http.routing;
Undocumented in source.

Members

Aliases

QueryParameterValidator
alias QueryParameterValidator = void delegate(ConstraintValidatorContext)
Undocumented in source.

Classes

Controller
class Controller
ControllerBase
class ControllerBase(T)
Undocumented in source.

Functions

__createCallActionMethod
string __createCallActionMethod()
Undocumented in source. Be warned that the author may not have intended to support it.
__createRouteMap
string __createRouteMap()
Undocumented in source. Be warned that the author may not have intended to support it.
callHandler
void callHandler(RoutingContext context)
Undocumented in source. Be warned that the author may not have intended to support it.
getRouteHandler
RoutingHandler getRouteHandler(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
handleMiddlewareAnnotation
string handleMiddlewareAnnotation()
indent
string indent(size_t number)
Undocumented in source. Be warned that the author may not have intended to support it.
makeParameterValidation
string makeParameterValidation()
Undocumented in source. Be warned that the author may not have intended to support it.
registerRouteHandler
void registerRouteHandler(string str, RoutingHandler method)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixin templates

HuntDynamicCallFun
mixintemplate HuntDynamicCallFun(T, string moduleName)
Undocumented in source.
MakeController
mixintemplate MakeController(string moduleName = __MODULE__)
Undocumented in source.

Static variables

_actions
RoutingHandler[string] _actions;
Undocumented in source.

Structs

Action
struct Action
Undocumented in source.

Templates

ParameterUDAs
template ParameterUDAs(alias func, A, int i = 0)
Undocumented in source.
isDesiredUDA
template isDesiredUDA(alias attribute)
Undocumented in source.

Meta