THTTPError

From Ultibo.org
Revision as of 06:36, 17 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit HTTP __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-collapse...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Return to Unit HTTP


Description


To be documented

Class definitions



THTTPError = class(TListObject)

public
constructor Create;  
destructor Destroy; override;  
private
FLock:TCriticalSectionHandle;  
 
FFlags:LongWord;  
FStatus:LongWord;  
 
FOnError:THTTPErrorEvent;  
 
procedure SetFlags(AFlags:LongWord);  
procedure SetStatus(AStatus:LongWord);  
 
function GetIsDefault:Boolean;  
procedure SetIsDefault(AIsDefault:Boolean);  
protected
function AcquireLock:Boolean;  
function ReleaseLock:Boolean;  
 
function DoError(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean; virtual;  
public
property Flags:LongWord read FFlags write SetFlags;  
property Status:LongWord read FStatus write SetStatus;  
 
property IsDefault:Boolean read GetIsDefault write SetIsDefault;  
 
property OnError:THTTPErrorEvent read FOnError write FOnError;  


Function declarations



constructor THTTPError.Create;
Description: To be documented
Note None documented


destructor THTTPError.Destroy;
Description: To be documented
Note None documented


procedure THTTPError.SetFlags(AFlags:LongWord);
Description: To be documented
Note None documented


procedure THTTPError.SetStatus(AStatus:LongWord);
Description: To be documented
Note None documented


function THTTPError.GetIsDefault:Boolean;
Description: To be documented
Note None documented


procedure THTTPError.SetIsDefault(AIsDefault:Boolean);
Description: To be documented
Note None documented


function THTTPError.AcquireLock:Boolean;
Description: To be documented
Note None documented


function THTTPError.ReleaseLock:Boolean;
Description: To be documented
Note None documented


function THTTPError.DoError(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean;
Description: Base Method for an HTTP Error
Note None documented


Return to Unit Reference