Sign in Join
FPDoc Onlineexperiment

TMimeItem class

In unit HTTPDefs

Represents a MIME multipart item

Declaration

pascal
TMimeItem = class(TCollectionItem)

Inheritance

  1. TMimeItem
  2. TCollectionItem
  3. TPersistent
  4. TObject

Description

TMimeItem represents a single part within a MIME multipart message. It encapsulates the content, headers, and metadata for one item in a multipart HTTP request.

Properties

RawDatapublicRaw unprocessed MIME item data
DatapublicProcessed MIME item data
NamepublicName attribute of the MIME item
DispositionpublicContent disposition of the MIME item
FileNamepublicFilename attribute of the MIME item
ContentTypepublicContent type of the MIME item
DescriptionpublicDescription of the MIME item
IsFilepublicIndicates whether the MIME item is a file
DataSizepublicSize of the MIME item data in bytes

Methods

CreateUploadedFileStreamingprotected
CreateUploadedFileprotected
CreateFileprotected
ProcessHeaderprotected
SaveToFileprotected
GetIsFileprotected
GetDataSizeprotected
GetHeaderprotected
SetHeaderprotected
ProcessStreamingpublicProcesses streamed MIME data
ProcesspublicProcesses MIME data from a stream

Fields

FLocalFilenameprotected
FRawDataprotected

Inherited

From TCollectionItem (13)

Changed Collection Create Destroy DisplayName GetDisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName SetIndex

From TPersistent (6)

Assign AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.