struct Athena::Routing::Route(Controller, ActionType, ReturnType, ArgTypeTuple, ArgumentsType)
- Athena::Routing::Route(Controller, ActionType, ReturnType, ArgTypeTuple, ArgumentsType)
- Athena::Routing::Action
- Struct
- Value
- Object
Overview
Represents an endpoint within the application.
Includes metadata about the endpoint, such as its controller, arguments, return type, and the action should be executed.
Defined in:
athena.crConstructors
Instance Method Summary
-
#action_name : String
The name of the the controller action related to
self. -
#arguments : ArgumentsType
An
Array(ART::Arguments::ArgumentMetadata)thatselfrequires. -
#controller : Controller.class
The
ART::Controllerthat includesself. -
#execute(arguments : Array) : ReturnType
Executes the action related to
selfwith the provided arguments array. -
#method : String
The HTTP method associated with
self. -
#param_converters : Array(ART::ParamConverterInterface::ConfigurationInterface)
An
Array(ART::ParamConverterInterface::ConfigurationInterface)representing theART::ParamConverters applied toself. -
#return_type : ReturnType.class
The type that
self's route should return.
Instance methods inherited from struct Athena::Routing::Action
initialize
initialize
Constructor methods inherited from struct Athena::Routing::Action
new
new
Constructor Detail
Instance Method Detail
Executes the action related to self with the provided arguments array.
An Array(ART::ParamConverterInterface::ConfigurationInterface) representing the ART::ParamConverters applied to self.