Class TRALHTTPHeaderInfo
Unit
Declaration
type TRALHTTPHeaderInfo = class(TObject)
Description
Base class of REQUEST and RESPONSE classes
Hierarchy
- TObject
- TRALHTTPHeaderInfo
Overview
Methods
![]() |
constructor Create(AOwner : TObject); virtual; |
![]() |
destructor Destroy; override; |
![]() |
function AddBody(const AText: StringRAL; const AContextType: StringRAL = rctAPPLICATIONJSON): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddCookie(const AName: StringRAL; const AValue: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddCookies(ACookies: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddField(const AName: StringRAL; const AValue: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddFile(AStream: TStream; const AFileName: StringRAL = ''): TRALHTTPHeaderInfo; overload; virtual; |
![]() |
function AddFile(const AFileName: StringRAL): TRALHTTPHeaderInfo; overload; virtual; |
![]() |
function AddHeader(const AName: StringRAL; const AValue: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddQuery(const AName: StringRAL; const AValue: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function Body: TRALParam; |
![]() |
function GetBody(AIdx: IntegerRAL): TRALParam; virtual; |
![]() |
function GetCookie(const AName: StringRAL): StringRAL; virtual; |
![]() |
function GetField(const AName: StringRAL): StringRAL; virtual; |
![]() |
function GetHeader(const AName: StringRAL): StringRAL; virtual; |
![]() |
function GetQuery(const AName: StringRAL): StringRAL; virtual; |
![]() |
function HasValidAcceptEncoding: boolean; |
![]() |
function HasValidContentEncoding: boolean; |
![]() |
function ParamByName(const AParamName: StringRAL): TRALParam; |
![]() |
function GetAcceptCompress: TRALCompressType; |
![]() |
function GetAcceptCripto: TRALCriptoType; |
![]() |
function GetContentCompress: TRALCompressType; |
![]() |
function GetContentCripto: TRALCriptoType; |
![]() |
function GetParams: TRALParams; |
![]() |
procedure Clear; virtual; |
![]() |
procedure Clone(ASource: TRALHTTPHeaderInfo); |
![]() |
procedure SetBody(AContent: TStream); overload; virtual; |
![]() |
procedure SetBody(AContent: StringRAL); overload; virtual; |
![]() |
procedure SetContentCompress(const AValue: TRALCompressType); |
![]() |
procedure SetContentCripto(AValue: TRALCriptoType); |
![]() |
procedure SetContentType(const AValue: StringRAL); |
Properties
![]() |
property AcceptCompress: TRALCompressType read GetAcceptCompress; |
![]() |
property AcceptCripto: TRALCriptoType read GetAcceptCripto; |
![]() |
property AcceptEncoding: StringRAL read FAcceptEncoding write FAcceptEncoding; |
![]() |
property AcceptEncription: StringRAL read FAcceptEncription write FAcceptEncription; |
![]() |
property ContentCompress: TRALCompressType read GetContentCompress write SetContentCompress; |
![]() |
property ContentCripto: TRALCriptoType read GetContentCripto write SetContentCripto; |
![]() |
property ContentDisposition: StringRAL read FContentDisposition write FContentDisposition; |
![]() |
property ContentDispositionInline: boolean read FContentDispositionInline write FContentDispositionInline; |
![]() |
property ContentEncoding: StringRAL read FContentEncoding write FContentEncoding; |
![]() |
property ContentEncription: StringRAL read FContentEncription write FContentEncription; |
![]() |
property ContentType: StringRAL read FContentType write SetContentType; |
![]() |
property CriptoKey: StringRAL read FCriptoKey write FCriptoKey; |
![]() |
property Params: TRALParams read GetParams; |
![]() |
property Parent: TObject read FParent; |
Description
Methods
![]() |
constructor Create(AOwner : TObject); virtual; |
![]() |
destructor Destroy; override; |
![]() |
function AddBody(const AText: StringRAL; const AContextType: StringRAL = rctAPPLICATIONJSON): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddCookie(const AName: StringRAL; const AValue: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddCookies(ACookies: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddField(const AName: StringRAL; const AValue: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddFile(AStream: TStream; const AFileName: StringRAL = ''): TRALHTTPHeaderInfo; overload; virtual; |
![]() |
function AddFile(const AFileName: StringRAL): TRALHTTPHeaderInfo; overload; virtual; |
![]() |
function AddHeader(const AName: StringRAL; const AValue: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function AddQuery(const AName: StringRAL; const AValue: StringRAL): TRALHTTPHeaderInfo; virtual; |
![]() |
function Body: TRALParam; |
|
Grabs the | |
![]() |
function GetBody(AIdx: IntegerRAL): TRALParam; virtual; |
![]() |
function GetCookie(const AName: StringRAL): StringRAL; virtual; |
![]() |
function GetField(const AName: StringRAL): StringRAL; virtual; |
![]() |
function GetHeader(const AName: StringRAL): StringRAL; virtual; |
![]() |
function GetQuery(const AName: StringRAL): StringRAL; virtual; |
![]() |
function HasValidAcceptEncoding: boolean; |
![]() |
function HasValidContentEncoding: boolean; |
![]() |
function ParamByName(const AParamName: StringRAL): TRALParam; |
|
Grabs the param either on request or response by its name | |
![]() |
function GetAcceptCompress: TRALCompressType; |
|
Grabs the kind of compression that will be accepted on the traffic | |
![]() |
function GetAcceptCripto: TRALCriptoType; |
|
Grabs the kind of criptography that will be accepted on the traffic | |
![]() |
function GetContentCompress: TRALCompressType; |
|
Grabs the kind of compression that will be used on the traffic | |
![]() |
function GetContentCripto: TRALCriptoType; |
|
Grabs the kind of criptography that will be used on the traffic | |
![]() |
function GetParams: TRALParams; |
![]() |
procedure Clear; virtual; |
![]() |
procedure Clone(ASource: TRALHTTPHeaderInfo); |
![]() |
procedure SetBody(AContent: TStream); overload; virtual; |
|
fills the body with the Stream AContent | |
![]() |
procedure SetBody(AContent: StringRAL); overload; virtual; |
|
fills the body with the String AContent | |
![]() |
procedure SetContentCompress(const AValue: TRALCompressType); |
![]() |
procedure SetContentCripto(AValue: TRALCriptoType); |
![]() |
procedure SetContentType(const AValue: StringRAL); |
Properties
![]() |
property AcceptCompress: TRALCompressType read GetAcceptCompress; |
![]() |
property AcceptCripto: TRALCriptoType read GetAcceptCripto; |
![]() |
property AcceptEncoding: StringRAL read FAcceptEncoding write FAcceptEncoding; |
![]() |
property AcceptEncription: StringRAL read FAcceptEncription write FAcceptEncription; |
![]() |
property ContentCompress: TRALCompressType read GetContentCompress write SetContentCompress; |
![]() |
property ContentCripto: TRALCriptoType read GetContentCripto write SetContentCripto; |
![]() |
property ContentDisposition: StringRAL read FContentDisposition write FContentDisposition; |
![]() |
property ContentDispositionInline: boolean read FContentDispositionInline write FContentDispositionInline; |
![]() |
property ContentEncoding: StringRAL read FContentEncoding write FContentEncoding; |
![]() |
property ContentEncription: StringRAL read FContentEncription write FContentEncription; |
![]() |
property ContentType: StringRAL read FContentType write SetContentType; |
![]() |
property CriptoKey: StringRAL read FCriptoKey write FCriptoKey; |
![]() |
property Params: TRALParams read GetParams; |
![]() |
property Parent: TObject read FParent; |
GitHub Repository
Generated by PasDoc 0.16.0.


