THTTPRedirect

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



THTTPRedirect = class(THTTPDocument)

public
constructor Create;  
private
FLocation:String;  
FPermanent:Boolean;  
 
function GetLocation:String;  
procedure SetLocation(const ALocation:String);  
procedure SetPermanent(APermanent:Boolean);  
protected
function DoGet(AHost:THTTPHost; ARequest:THTTPServerRequest; AResponse:THTTPServerResponse):Boolean; override;  
public
property Location:String read GetLocation write SetLocation;  
property Permanent:Boolean read FPermanent write SetPermanent;  


Function declarations



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


function THTTPRedirect.GetLocation:String;
Description: To be documented
Note None documented


procedure THTTPRedirect.SetLocation(const ALocation:String);
Description: To be documented
Note None documented


procedure THTTPRedirect.SetPermanent(APermanent:Boolean);
Description: To be documented
Note None documented


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


Return to Unit Reference