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
| Public | constructor Create; |
| Public | destructor Destroy; override; |
| Public | function IsNilOrEmpty: Boolean; |
| Public | function SaveToStream: TStream; overload; |
| Public | function Size: Int64; |
| Protected | function GetAsBoolean: Boolean; |
| Protected | function GetAsDouble: DoubleRAL; |
| Protected | function GetAsInt64: Int64; |
| Protected | function GetAsInteger: IntegerRAL; |
| Protected | function GetAsStream: TStream; |
| Protected | function GetAsString: StringRAL; |
| Protected | function GetContentDisposition: StringRAL; |
| Protected | function GetContentSize: Int64RAL; |
| Public | procedure Clone(ASource: TRALParam); |
| Public | procedure OpenFile(const AFileName: StringRAL); |
| Public | procedure SaveToFile; overload; |
| Public | procedure SaveToFile(const AFileName: StringRAL); overload; |
| Public | procedure SaveToFile(AFolderName, AFileName: StringRAL); overload; |
| Public | procedure SaveToStream(AStream: TStream); overload; |
| Protected | procedure SetAsBoolean(const AValue: Boolean); |
| Protected | procedure SetAsDouble(const AValue: DoubleRAL); |
| Protected | procedure SetAsInt64(const AValue: Int64); |
| Protected | procedure SetAsInteger(const AValue: IntegerRAL); |
| Protected | procedure SetAsStream(const AValue: TStream); |
| Protected | procedure SetAsString(const AValue: StringRAL); |
| Protected | procedure SetContentDisposition(AValue: StringRAL); |
Properties
| Public | property AsBoolean: Boolean read GetAsBoolean write SetAsBoolean; |
| Public | property AsDouble: DoubleRAL read GetAsDouble write SetAsDouble; |
| Public | property AsInt64: Int64 read GetAsInt64 write SetAsInt64; |
| Public | property AsInteger: IntegerRAL read GetAsInteger write SetAsInteger; |
| Public | property AsStream: TStream read GetAsStream write SetAsStream; |
| Public | property AsString: StringRAL read GetAsString write SetAsString; |
| Public | property Content: TStream read FContent; |
| Public | property ContentDisposition: StringRAL read GetContentDisposition write SetContentDisposition; |
| Public | property ContentDispositionInline: Boolean read FContentDispositionInline write FContentDispositionInline; |
| Public | property ContentSize: Int64RAL read GetContentSize; |
| Public | property ContentType: StringRAL read FContentType write FContentType; |
| Public | property FileName: StringRAL read FFileName write FFileName; |
| Public | property Kind: TRALParamKind read FKind write FKind; |
| Public | property ParamName: StringRAL read FParamName write FParamName; |
Description
Methods
| Public | constructor Create; |
|
This item has no description. | |
| Public | destructor Destroy; override; |
|
This item has no description. | |
| Public | function IsNilOrEmpty: Boolean; |
|
This item has no description. | |
| Public | function SaveToStream: TStream; overload; |
|
This item has no description. | |
| Public | function Size: Int64; |
|
This item has no description. | |
| Protected | function GetAsBoolean: Boolean; |
|
This item has no description. | |
| Protected | function GetAsDouble: DoubleRAL; |
|
This item has no description. | |
| Protected | function GetAsInt64: Int64; |
|
This item has no description. | |
| Protected | function GetAsInteger: IntegerRAL; |
|
This item has no description. | |
| Protected | function GetAsStream: TStream; |
|
This item has no description. | |
| Protected | function GetAsString: StringRAL; |
|
This item has no description. | |
| Protected | function GetContentDisposition: StringRAL; |
|
This item has no description. | |
| Protected | function GetContentSize: Int64RAL; |
|
This item has no description. | |
| Public | procedure Clone(ASource: TRALParam); |
|
This item has no description. | |
| Public | procedure OpenFile(const AFileName: StringRAL); |
|
Clears and assign a file to the FContent. | |
| Public | procedure SaveToFile; overload; |
|
Saves FContent to the default executable location. | |
| Public | procedure SaveToFile(const AFileName: StringRAL); overload; |
|
Save FContent with the given Filename. | |
| Public | procedure SaveToFile(AFolderName, AFileName: StringRAL); overload; |
|
Save FContent with the given Filename and the foldername. | |
| Public | procedure SaveToStream(AStream: TStream); overload; |
|
This item has no description. | |
| Protected | procedure SetAsBoolean(const AValue: Boolean); |
|
This item has no description. | |
| Protected | procedure SetAsDouble(const AValue: DoubleRAL); |
|
This item has no description. | |
| Protected | procedure SetAsInt64(const AValue: Int64); |
|
This item has no description. | |
| Protected | procedure SetAsInteger(const AValue: IntegerRAL); |
|
This item has no description. | |
| Protected | procedure SetAsStream(const AValue: TStream); |
|
This item has no description. | |
| Protected | procedure SetAsString(const AValue: StringRAL); |
|
This item has no description. | |
| Protected | procedure SetContentDisposition(AValue: StringRAL); |
|
This item has no description. | |
Properties
| Public | property AsBoolean: Boolean read GetAsBoolean write SetAsBoolean; |
|
This item has no description. | |
| Public | property AsDouble: DoubleRAL read GetAsDouble write SetAsDouble; |
|
This item has no description. | |
| Public | property AsInt64: Int64 read GetAsInt64 write SetAsInt64; |
|
This item has no description. | |
| Public | property AsInteger: IntegerRAL read GetAsInteger write SetAsInteger; |
|
This item has no description. | |
| Public | property AsStream: TStream read GetAsStream write SetAsStream; |
|
This item has no description. | |
| Public | property AsString: StringRAL read GetAsString write SetAsString; |
|
This item has no description. | |
| Public | property Content: TStream read FContent; |
|
This item has no description. | |
| Public | property ContentDisposition: StringRAL read GetContentDisposition write SetContentDisposition; |
|
This item has no description. | |
| Public | property ContentDispositionInline: Boolean read FContentDispositionInline write FContentDispositionInline; |
|
This item has no description. | |
| Public | property ContentSize: Int64RAL read GetContentSize; |
|
This item has no description. | |
| Public | property ContentType: StringRAL read FContentType write FContentType; |
|
This item has no description. | |
| Public | property FileName: StringRAL read FFileName write FFileName; |
|
This item has no description. | |
| Public | property Kind: TRALParamKind read FKind write FKind; |
|
This item has no description. | |
| Public | property ParamName: StringRAL read FParamName write FParamName; |
|
This item has no description. | |
PascalRAL - GitHub Repository
Generated by PasDoc 1.0.4.