Return to Unit HTTP
Description
To be documented
Class definitions
[Expand]
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
[Expand]
constructor THTTPError.Create;
Description: To be documented
[Expand]
destructor THTTPError.Destroy;
Description: To be documented
[Expand]
procedure THTTPError.SetFlags(AFlags:LongWord);
Description: To be documented
[Expand]
procedure THTTPError.SetStatus(AStatus:LongWord);
Description: To be documented
[Expand]
function THTTPError.GetIsDefault:Boolean;
Description: To be documented
[Expand]
procedure THTTPError.SetIsDefault(AIsDefault:Boolean);
Description: To be documented
[Expand]
function THTTPError.AcquireLock:Boolean;
Description: To be documented
[Expand]
function THTTPError.ReleaseLock:Boolean;
Description: To be documented
[Expand]
function THTTPError.DoError(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean;
Description: Base Method for an HTTP Error
Return to Unit Reference