Package: lwebserver Diagram Back to overview

TCGIHandler class
Inherits from: TURIHandler
Attributes
Name Type Visibility
FScriptPathPrefix string   protected
FCGIRoot string   protected
FDocumentRoot string   protected
FEnvPath string   protected
CGIRoot   public
DocumentRoot   public
EnvPath   public
ScriptPathPrefix   public
Operations
Name Parameters Returns Visibility
HandleURI
TLHTTPServerSocket ASocket
 
TOutputItem   protected


TCGIOutput class
Inherits from: TBufferOutput
Subclasses: TSimpleCGIOutput, TFastCGIOutput
Attributes
Name Type Visibility
FParsePos pchar   protected
FReadPos integer   protected
FParsingHeaders boolean   protected
FDocumentRoot string   protected
FExtraPath string   protected
FEnvPath string   protected
FScriptFileName string   protected
FScriptName string   protected
DocumentRoot   public
EnvPath   public
ExtraPath   public
ScriptFileName   public
ScriptName   public
Operations
Name Parameters Returns Visibility
AddEnvironment
string AName
string AValue
 
  protected
AddHTTPParam
string AName
TLHTTPParameter AParam
 
  protected
ParseHeaders   boolean   protected
CGIOutputError     protected
WriteCGIBlock     protected
WriteCGIData   TWriteBlockStatus   protected
Create
TLHTTPSocket ASocket
 
  public
Destroy     public
FillBuffer   TWriteBlockStatus   public
StartRequest     public


TDocumentHandler class
Inherits from: TObject
Subclasses: TPHPCGIHandler, TPHPFastCGIHandler
Attributes
Name Type Visibility
FNext TDocumentHandler   private
FFileHandler TFileHandler   protected
FileHandler   public
Operations
Name Parameters Returns Visibility
RegisterWithEventer
TLEventer AEventer
 
  protected
HandleDocument
TDocumentRequest ARequest
 
TOutputItem   public


TFastCGIOutput class
Inherits from: TCGIOutput
Attributes
Name Type Visibility
FRequest TLFastCGIRequest   protected
Request   public
Operations
Name Parameters Returns Visibility
AddEnvironment
string AName
string AValue
 
  protected
CGIOutputError     protected
DoneInput     protected
RequestEnd
TLFastCGIRequest ARequest
 
  protected
RequestNeedInput
TLFastCGIRequest ARequest
 
  protected
RequestHasOutput
TLFastCGIRequest ARequest
 
  protected
RequestHasStderr
TLFastCGIRequest ARequest
 
  protected
HandleInput
pchar ABuffer
integer ASize
 
integer   protected
WriteCGIData   TWriteBlockStatus   protected
WriteBlock   TWriteBlockStatus   protected
Create
TLHTTPSocket ASocket
 
  public
Destroy     public
StartRequest     public


TFileHandler class
Inherits from: TURIHandler
Attributes
Name Type Visibility
FDocHandlerList TDocumentHandler   protected
FDirIndexList TStrings   protected
FDocumentRoot string   protected
FMimeTypeFile string   protected
DirIndexList   public
DocumentRoot   public
MimeTypeFile   public
Operations
Name Parameters Returns Visibility
SetMimeTypeFile
string AValue
 
  protected
HandleFile
TDocumentRequest ARequest
 
TOutputItem   protected
HandleURI
TLHTTPServerSocket ASocket
 
TOutputItem   protected
RegisterWithEventer
TLEventer AEventer
 
  protected
Create     public
Destroy     public
RegisterHandler
TDocumentHandler AHandler
 
  public


TFileOutput class
Inherits from: TBufferOutput
Attributes
Name Type Visibility
FFile file   protected
Size   public
Operations
Name Parameters Returns Visibility
GetSize   integer   protected
FillBuffer   TWriteBlockStatus   protected
Create
TLHTTPSocket ASocket
 
  public
Destroy     public
Open
string AFileName
 
boolean   public


TFormHandler class
Inherits from: TURIHandler
Attributes
Name Type Visibility
FOnHandleURI THandleURIEvent   protected
OnHandleURI   public
Operations
Name Parameters Returns Visibility
HandleURI
TLHTTPServerSocket ASocket
 
TOutputItem   protected


TFormOutput class
Inherits from: TBufferOutput
Attributes
Name Type Visibility
FRequestVars TStrings   protected
FOnExtraHeaders TNotifyEvent   protected
FOnFillBuffer TFillBufferEvent   protected
OnExtraHeaders   public
OnFillBuffer   public
Operations
Name Parameters Returns Visibility
DoneInput     protected
FillBuffer   TWriteBlockStatus   protected
HandleInput
pchar ABuffer
integer ASize
 
integer   protected
Create
TLHTTPSocket ASocket
 
  public
Destroy     public
AddVariables
pchar Variables
integer ASize
char SepChar
 
integer   public
DeleteCookie
string AName
string APath
string ADomain
 
  public
SetCookie
string AName
string AValue
TDateTime AExpires
string APath
string ADomain
 
  public


TPHPCGIHandler class
Inherits from: TDocumentHandler
Attributes
Name Type Visibility
FAppName string   protected
FEnvPath string   protected
AppName   public
EnvPath   public
Operations
Name Parameters Returns Visibility
HandleDocument
TDocumentRequest ARequest
 
TOutputItem   public


TPHPFastCGIHandler class
Inherits from: TDocumentHandler
Attributes
Name Type Visibility
FPool TLFastCGIPool   protected
FEnvPath string   protected
AppEnv   public
AppName   public
EnvPath   public
Host   public
Pool   public
Port   public
Operations
Name Parameters Returns Visibility
GetAppEnv   string   protected
GetAppName   string   protected
GetHost   string   protected
GetPort   integer   protected
RegisterWithEventer
TLEventer AEventer
 
  protected
SetAppEnv
string NewEnv
 
  protected
SetAppName
string NewName
 
  protected
SetHost
string NewHost
 
  protected
SetPort
integer NewPort
 
  protected
Create     public
Destroy     public
HandleDocument
TDocumentRequest ARequest
 
TOutputItem   public


TSimpleCGIOutput class
Inherits from: TCGIOutput
Attributes
Name Type Visibility
FProcess TLProcess   protected
Process   public
Operations
Name Parameters Returns Visibility
AddEnvironment
string AName
string AValue
 
  protected
CGIProcNeedInput
TLHandle AHandle
 
  protected
CGIProcHasOutput
TLHandle AHandle
 
  protected
CGIProcHasStderr
TLHandle AHandle
 
  protected
DoneInput     protected
HandleInput
pchar ABuffer
integer ASize
 
integer   protected
CGIOutputError     protected
WriteCGIData   TWriteBlockStatus   protected
Create
TLHTTPSocket ASocket
 
  public
Destroy     public
StartRequest     public