|
Daraja HTTP Framework 3.2.1-SNAPSHOT
HTTP server framework for Object Pascal
|
Interface for components that can contain multiple handlers. More...
Public Member Functions | |
| AddHandler (const IHandler Handler) | |
| Adds a handler to this container. | |
| Handle (const string Target, TdjServerContext Context, TdjRequest Request, TdjResponse Response) | |
| Handles an HTTP request. | |
| boolean | IsStarted () |
| boolean | IsStopped () |
| RemoveHandler (const IHandler Handler) | |
| Removes a handler from this container. | |
| Start () | |
| Starts the component. | |
| Stop () | |
| Stops the component. | |
Protected Member Functions | |
| Handle (const string Target, TdjServerContext Context, TdjRequest Request, TdjResponse Response) | |
Protected Attributes | |
| TdjHandlers | FHandlers |
| The handler collection. | |
Interface for components that can contain multiple handlers.
| IHandlerContainer::AddHandler | ( | const IHandler | Handler | ) |
|
protectedinherited |
Implemented in TdjAbstractHandler, TdjServerBase, and TdjWebComponentHandler.
|
inherited |
Handles an HTTP request.
| Target | Target path or resource identifier |
| Context | Server context for this request |
| Request | HTTP request object |
| Response | HTTP response object to populate |
| EWebComponentException | if an exception occurs that interferes with the component's normal operation. |
Implemented in TdjAbstractHandler, TdjServerBase, and TdjWebComponentHandler.
|
inherited |
Implemented in TdjLifeCycle.
Referenced by TdjServer::ConnectorCount(), and Stop().
|
inherited |
Implemented in TdjLifeCycle.
| IHandlerContainer::RemoveHandler | ( | const IHandler | Handler | ) |
|
inherited |
|
inherited |
Stops the component.
Implemented in TdjLifeCycle.
References IsStarted().
Referenced by TdjServer::ConnectorCount().
|
protectedinherited |
The handler collection.
Referenced by IHandler(), and ~IHandler().