THTTPRedirect

From Ultibo.org
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