Class TRALParam
Unit
Declaration
type TRALParam = class(TObject)
Description
This is the object of all the data that is traded between request and response. each RALParam has a name, a kind and a content that can either be a text (String) or a bytearray (Stream)
Hierarchy
- TObject
- TRALParam
Overview
Methods
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function IsNilOrEmpty: Boolean; |
![]() |
function SaveToStream: TStream; overload; |
![]() |
function Size: Int64; |
![]() |
function GetAsBoolean: Boolean; |
![]() |
function GetAsDouble: DoubleRAL; |
![]() |
function GetAsInt64: Int64; |
![]() |
function GetAsInteger: IntegerRAL; |
![]() |
function GetAsStream: TStream; |
![]() |
function GetAsString: StringRAL; |
![]() |
function GetContentDisposition: StringRAL; |
![]() |
function GetContentSize: Int64RAL; |
![]() |
procedure Clone(ASource: TRALParam); |
![]() |
procedure OpenFile(const AFileName: StringRAL); |
![]() |
procedure SaveToFile; overload; |
![]() |
procedure SaveToFile(AFolderName, AFileName: StringRAL); overload; |
![]() |
procedure SaveToFile(const AFileName: StringRAL); overload; |
![]() |
procedure SaveToStream(AStream: TStream); overload; |
![]() |
procedure SetAsBoolean(const AValue: Boolean); |
![]() |
procedure SetAsDouble(const AValue: DoubleRAL); |
![]() |
procedure SetAsInt64(const AValue: Int64); |
![]() |
procedure SetAsInteger(const AValue: IntegerRAL); |
![]() |
procedure SetAsStream(const AValue: TStream); |
![]() |
procedure SetAsString(const AValue: StringRAL); |
![]() |
procedure SetContentDisposition(AValue: StringRAL); |
Properties
![]() |
property AsBoolean: Boolean read GetAsBoolean write SetAsBoolean; |
![]() |
property AsDouble: DoubleRAL read GetAsDouble write SetAsDouble; |
![]() |
property AsInt64: Int64 read GetAsInt64 write SetAsInt64; |
![]() |
property AsInteger: IntegerRAL read GetAsInteger write SetAsInteger; |
![]() |
property AsStream: TStream read GetAsStream write SetAsStream; |
![]() |
property AsString: StringRAL read GetAsString write SetAsString; |
![]() |
property Content: TStream read FContent; |
![]() |
property ContentDisposition: StringRAL read GetContentDisposition write SetContentDisposition; |
![]() |
property ContentDispositionInline: Boolean read FContentDispositionInline write FContentDispositionInline; |
![]() |
property ContentSize: Int64RAL read GetContentSize; |
![]() |
property ContentType: StringRAL read FContentType write FContentType; |
![]() |
property FileName: StringRAL read FFileName write FFileName; |
![]() |
property Kind: TRALParamKind read FKind write FKind; |
![]() |
property ParamName: StringRAL read FParamName write FParamName; |
Description
Methods
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
function IsNilOrEmpty: Boolean; |
![]() |
function SaveToStream: TStream; overload; |
![]() |
function Size: Int64; |
![]() |
function GetAsBoolean: Boolean; |
![]() |
function GetAsDouble: DoubleRAL; |
![]() |
function GetAsInt64: Int64; |
![]() |
function GetAsInteger: IntegerRAL; |
![]() |
function GetAsStream: TStream; |
![]() |
function GetAsString: StringRAL; |
![]() |
function GetContentDisposition: StringRAL; |
![]() |
function GetContentSize: Int64RAL; |
![]() |
procedure Clone(ASource: TRALParam); |
![]() |
procedure OpenFile(const AFileName: StringRAL); |
|
Clears and assign a file to the FContent. | |
![]() |
procedure SaveToFile; overload; |
|
Saves FContent to the default executable location. | |
![]() |
procedure SaveToFile(AFolderName, AFileName: StringRAL); overload; |
|
Save FContent with the given Filename and the foldername. | |
![]() |
procedure SaveToFile(const AFileName: StringRAL); overload; |
|
Save FContent with the given Filename. | |
![]() |
procedure SaveToStream(AStream: TStream); overload; |
![]() |
procedure SetAsBoolean(const AValue: Boolean); |
![]() |
procedure SetAsDouble(const AValue: DoubleRAL); |
![]() |
procedure SetAsInt64(const AValue: Int64); |
![]() |
procedure SetAsInteger(const AValue: IntegerRAL); |
![]() |
procedure SetAsStream(const AValue: TStream); |
![]() |
procedure SetAsString(const AValue: StringRAL); |
![]() |
procedure SetContentDisposition(AValue: StringRAL); |
Properties
![]() |
property AsBoolean: Boolean read GetAsBoolean write SetAsBoolean; |
![]() |
property AsDouble: DoubleRAL read GetAsDouble write SetAsDouble; |
![]() |
property AsInt64: Int64 read GetAsInt64 write SetAsInt64; |
![]() |
property AsInteger: IntegerRAL read GetAsInteger write SetAsInteger; |
![]() |
property AsStream: TStream read GetAsStream write SetAsStream; |
![]() |
property AsString: StringRAL read GetAsString write SetAsString; |
![]() |
property Content: TStream read FContent; |
![]() |
property ContentDisposition: StringRAL read GetContentDisposition write SetContentDisposition; |
![]() |
property ContentDispositionInline: Boolean read FContentDispositionInline write FContentDispositionInline; |
![]() |
property ContentSize: Int64RAL read GetContentSize; |
![]() |
property ContentType: StringRAL read FContentType write FContentType; |
![]() |
property FileName: StringRAL read FFileName write FFileName; |
![]() |
property Kind: TRALParamKind read FKind write FKind; |
![]() |
property ParamName: StringRAL read FParamName write FParamName; |
GitHub Repository
Generated by PasDoc 0.16.0.

