Daraja Framework
1.2
HTTP server framework for Object Pascal
|
Multiple contexts may have the same context path and they are called in order until one handles the request. More...
Public Member Functions | |
TdjContextHandlerCollection () | |
Create a collection of context handlers. | |
~TdjContextHandlerCollection () | |
Destructor. | |
![]() | |
TdjHandlerList () | |
Constructor. | |
Handle (string Target, TdjServerContext Context, TdjRequest Request, TdjResponse Response) | |
Handle a HTTP request. More... | |
![]() | |
TdjHandlerCollection () | |
Create a TdjHandlerCollection. | |
~TdjHandlerCollection () | |
Destructor. | |
Handle (string Target, TdjServerContext Context, TdjRequest Request, TdjResponse Response) | |
Handle a HTTP request. More... | |
DoStart () | |
Start the handler. | |
DoStop () | |
Start the handler. | |
AddHandler (const IHandler Handler) | |
Add a handler. More... | |
RemoveHandler (const IHandler Handler) | |
Remove a handler. More... | |
![]() | |
TdjAbstractHandler () | |
Constructor. | |
DoStart () | |
Start the handler. | |
DoStop () | |
Start the handler. | |
Handle (string Target, TdjServerContext Context, TdjRequest Request, TdjResponse Response) | |
Handle a HTTP request. More... | |
![]() | |
TdjLifeCycle () | |
Constructor. | |
Start () | |
Start the handler. More... | |
Stop () | |
Stop the handler. More... | |
Boolean | IsStarted () |
Boolean | IsStopped () |
Additional Inherited Members | |
![]() | |
Boolean | Started |
True if the state is "started". More... | |
Boolean | Stopped |
True if the state is "stopped". More... | |
![]() | |
AddHandler (const IHandler Handler) | |
Add a handler. More... | |
RemoveHandler (const IHandler Handler) | |
Remove a handler. More... | |
![]() | |
DoStart () | |
Execute the custom start code. | |
DoStop () | |
Execute the custom stop code. | |
CheckStarted () | |
Raises an exception if the lifecycle is in "started" state. | |
CheckStopped () | |
Raises an exception if the lifecycle is in "stopped" state. | |
![]() | |
TdjHandlers | FHandlers |
The handler collection. | |
Multiple contexts may have the same context path and they are called in order until one handles the request.