Daraja HTTP Framework 3.0.7-SNAPSHOT
HTTP server framework for Object Pascal
Loading...
Searching...
No Matches
TdjWebComponentConfig Class Reference

Web Component configuration. More...

Inheritance diagram for TdjWebComponentConfig:
TdjAbstractConfig IWebComponentConfig IWriteableConfig IContextConfig

Public Member Functions

IContext GetContext ()
 Get the current context.

Protected Member Functions

 Add (const string Key, const string Value)
 Adds a key-value pair to configuration.
string GetInitParameter (const string Key)
 Gets an initialization parameter.
TdjStrings GetInitParameterNames ()
 SetContext (const IContext Context)
 Sets the context for this configuration.

Private Member Functions

IContext GetContext ()
string GetInitParameter (const string Key)
 Gets an initialization parameter.
TdjStrings GetInitParameterNames ()

Detailed Description

Web Component configuration.

Member Function Documentation

◆ Add()

TdjAbstractConfig::Add ( const string Key,
const string Value )
protectedinherited

Adds a key-value pair to configuration.

Parameters
KeyParameter name
ValueParameter value

Implements IWriteableConfig.

◆ GetContext()

IContext TdjAbstractConfig::GetContext ( )
inherited

Get the current context.

Returns
The context associated with this configuration.

References TdjAbstractConfig().

◆ GetInitParameter()

string TdjAbstractConfig::GetInitParameter ( const string Key)
protectedinherited

Gets an initialization parameter.

Parameters
KeyParameter name
Returns
Parameter value or empty string if not found

Implements IContextConfig.

◆ GetInitParameterNames()

TdjStrings TdjAbstractConfig::GetInitParameterNames ( )
protectedinherited
Returns
Names of all initialization parameters

Implements IContextConfig.

◆ SetContext()

TdjAbstractConfig::SetContext ( const IContext Context)
protectedinherited

Sets the context for this configuration.

Parameters
ContextContext to set
Exceptions
EWebComponentExceptionif the context is nil or if the context is already set and differs from the new context.

Implements IWriteableConfig.