Class TRALMultipartFormData

Unit

Declaration

type TRALMultipartFormData = class(TObject)

Description

Base class for the Multipart object of the request

Hierarchy

Overview

Methods

Public constructor Create;
Public destructor Destroy; override;
Protected function GetBufferStream: TStream;
Protected function GetBufferString: StringRAL;
Public procedure OpenFile(const AFileName: StringRAL);
Public procedure ProcessHeader(AHeader: StringRAL);
Public procedure SaveToFile(const AFileName: StringRAL);
Public procedure SaveToStream(var AStream: TStream);
Protected procedure SetBufferStream(AValue: TStream);
Protected procedure SetBufferString(const AValue: StringRAL);

Properties

Public property AsStream: TStream read GetBufferStream write SetBufferStream;
Public property AsString: StringRAL read GetBufferString write SetBufferString;
Published property ContentType: StringRAL read FContentType write FContentType;
Published property Description: StringRAL read FDescription write FDescription;
Published property Disposition: StringRAL read FDisposition write FDisposition;
Published property Filename: StringRAL read FFilename write FFilename;
Published property Name: StringRAL read FName write FName;

Description

Methods

Public constructor Create;
 
Public destructor Destroy; override;
 
Protected function GetBufferStream: TStream;
 
Protected function GetBufferString: StringRAL;
 
Public procedure OpenFile(const AFileName: StringRAL);

Initializes a File by its AFileName

Public procedure ProcessHeader(AHeader: StringRAL);

Parse the Header of the Multipart Form

Public procedure SaveToFile(const AFileName: StringRAL);

Saves the Multipart content to a AFileName in the disk

Public procedure SaveToStream(var AStream: TStream);

Saves the Multipart content into an AStream

Protected procedure SetBufferStream(AValue: TStream);
 
Protected procedure SetBufferString(const AValue: StringRAL);
 

Properties

Public property AsStream: TStream read GetBufferStream write SetBufferStream;
 
Public property AsString: StringRAL read GetBufferString write SetBufferString;
 
Published property ContentType: StringRAL read FContentType write FContentType;
 
Published property Description: StringRAL read FDescription write FDescription;
 
Published property Disposition: StringRAL read FDisposition write FDisposition;
 
Published property Filename: StringRAL read FFilename write FFilename;
 
Published property Name: StringRAL read FName write FName;
 


GitHub Repository
Generated by PasDoc 0.16.0.