home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 October
/
Chip_2001-10_cd1.bin
/
zkuste
/
delphi
/
nastroje
/
d3456
/
KBMWABD.ZIP
/
WABD_Response.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
2001-07-09
|
1KB
|
53 lines
unit WABD_Response;
interface
uses Classes,WABD_Cookies;
type
TWABD_CustomResponse = class
protected
FStatus:integer;
FContentType:string;
FContentDesc:string;
FLocation:string;
FHeader:TStringList;
FResponse:TStringList;
FCookies:TWABD_Cookies;
FOverrideStandardResponse:boolean;
function FormatResponse:string; virtual; abstract;
public
constructor Create;
destructor Destroy; override;
property Status:integer read FStatus write FStatus;
property ContentType:string read FContentType write FContentType;
property ContentDesc:string read FContentDesc write FContentDesc;
property Location:string read FLocation write FLocation;
property Header:TStringList read FHeader write FHeader;
property OverrideStandardResponse:boolean read FOverrideStandardResponse write FOverrideStandardResponse;
property Response:TStringList read FResponse;
property Cookies:TWABD_Cookies read FCookies;
end;
implementation
constructor TWABD_CustomResponse.Create;
begin
inherited;
FCookies:=TWABD_Cookies.Create(TWABD_Cookie);
FResponse:=TStringList.Create;
FHeader:=TStringList.Create;
end;
destructor TWABD_CustomResponse.Destroy;
begin
FCookies.Free;
FResponse.Free;
FHeader.Free;
inherited;
end;
end.