THTTPFile

From Ultibo.org
Jump to: navigation, search

Return to Unit HTTP


Description


To be documented

Class definitions



THTTPFile = class(THTTPDocument)

public
constructor Create;  
private
FFilename:String;  
FAllowCache:Boolean;  
 
function GetFilename:String;  
procedure SetFilename(const AFilename:String);  
procedure SetAllowCache(AAllowCache:Boolean);  
protected
function DoGet(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean; override;  
function DoHead(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean; override;  
public
property Filename:String read GetFilename write SetFilename;  
property AllowCache:Boolean read FAllowCache write SetAllowCache;  


Function declarations



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


function THTTPFile.GetFilename:String;
Description: To be documented
Note None documented


procedure THTTPFile.SetFilename(const AFilename:String);
Description: To be documented
Note None documented


procedure THTTPFile.SetAllowCache(AAllowCache:Boolean);
Description: To be documented
Note None documented


function THTTPFile.DoGet(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean;
Description: Base GET Method for an HTTP File
Note None documented


function THTTPFile.DoHead(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean;
Description: Base HEAD Method for an HTTP File
Note None documented


Return to Unit Reference