Daraja Framework
1.2
HTTP server framework for Object Pascal
|
Server Base. More...
Public Member Functions | |
TdjServerBase () | |
Create a ServerBase instance. | |
~TdjServerBase () | |
Destructor. | |
Handle (string Target, TdjServerContext Context, TdjRequest Request, TdjResponse Response) | |
Handle a HTTP request. More... | |
DoStart () | |
Start the server. | |
DoStop () | |
Stop the server. | |
![]() | |
AddHandler (const IHandler Handler) | |
Add a handler to the container. More... | |
RemoveHandler (const IHandler Handler) | |
Remove a handler from the container. More... | |
DoStart () | |
Start the handler. | |
DoStop () | |
Stop the handler. | |
Handle (string Target, TdjServerContext Context, TdjRequest Request, TdjResponse Response) | |
Handle a HTTP request. 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 | |
![]() | |
IHandler | Handler |
![]() | |
Boolean | Started |
True if the state is "started". More... | |
Boolean | Stopped |
True if the state is "stopped". More... | |
![]() | |
TIdHTTPSession | GetSession (TdjServerContext Context, TdjRequest Request, TdjResponse Response, const Boolean Create) |
Get a HTTP session. | |
![]() | |
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. | |
Server Base.
TdjServerBase::Handle | ( | string | Target, |
TdjServerContext | Context, | ||
TdjRequest | Request, | ||
TdjResponse | Response | ||
) |
Handle a HTTP request.
Target | Request target |
Context | HTTP server context |
Request | HTTP request |
Response | HTTP response |
EWebComponentException | if an exception occurs that interferes with the component's normal operation |