THTTPFile

From Ultibo.org
Revision as of 06:42, 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



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