webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
WebCore::FormDataElement Class Reference

#include <FormData.h>

Public Types

enum  Type {
  Type::Data, Type::EncodedFile, Type::EncodedBlob, Type::Data,
  Type::EncodedFile, Type::EncodedBlob
}
 
enum  Type {
  Type::Data, Type::EncodedFile, Type::EncodedBlob, Type::Data,
  Type::EncodedFile, Type::EncodedBlob
}
 

Public Member Functions

 FormDataElement ()
 
 FormDataElement (const Vector< char > &array)
 
 FormDataElement (const String &filename, long long fileStart, long long fileLength, double expectedFileModificationTime, bool shouldGenerateFile)
 
 FormDataElement (const URL &blobURL)
 
FormDataElement isolatedCopy () const
 
template<typename Encoder >
void encode (Encoder &) const
 
 FormDataElement ()
 
 FormDataElement (const Vector< char > &array)
 
 FormDataElement (const String &filename, long long fileStart, long long fileLength, double expectedFileModificationTime, bool shouldGenerateFile)
 
 FormDataElement (const URL &blobURL)
 
FormDataElement isolatedCopy () const
 
template<typename Encoder >
void encode (Encoder &) const
 

Static Public Member Functions

template<typename Decoder >
static bool decode (Decoder &, FormDataElement &result)
 
template<typename Decoder >
static bool decode (Decoder &, FormDataElement &result)
 

Public Attributes

Type m_type
 
Vector< char > m_data
 
String m_filename
 
URL m_url
 
int64_t m_fileStart
 
int64_t m_fileLength
 
double m_expectedFileModificationTime
 
String m_generatedFilename
 
bool m_shouldGenerateFile
 
bool m_ownsGeneratedFile
 

Member Enumeration Documentation

◆ Type [1/2]

Enumerator
Data 
EncodedFile 
EncodedBlob 
Data 
EncodedFile 
EncodedBlob 

◆ Type [2/2]

Enumerator
Data 
EncodedFile 
EncodedBlob 
Data 
EncodedFile 
EncodedBlob 

Constructor & Destructor Documentation

◆ FormDataElement() [1/8]

WebCore::FormDataElement::FormDataElement ( )
inline

◆ FormDataElement() [2/8]

WebCore::FormDataElement::FormDataElement ( const Vector< char > &  array)
inlineexplicit

◆ FormDataElement() [3/8]

WebCore::FormDataElement::FormDataElement ( const String filename,
long long  fileStart,
long long  fileLength,
double  expectedFileModificationTime,
bool  shouldGenerateFile 
)
inline

◆ FormDataElement() [4/8]

WebCore::FormDataElement::FormDataElement ( const URL blobURL)
inlineexplicit

◆ FormDataElement() [5/8]

WebCore::FormDataElement::FormDataElement ( )
inline

◆ FormDataElement() [6/8]

WebCore::FormDataElement::FormDataElement ( const Vector< char > &  array)
inlineexplicit

◆ FormDataElement() [7/8]

WebCore::FormDataElement::FormDataElement ( const String filename,
long long  fileStart,
long long  fileLength,
double  expectedFileModificationTime,
bool  shouldGenerateFile 
)
inline

◆ FormDataElement() [8/8]

WebCore::FormDataElement::FormDataElement ( const URL blobURL)
inlineexplicit

Member Function Documentation

◆ decode() [1/2]

template<typename Decoder >
bool WebCore::FormDataElement::decode ( Decoder &  decoder,
FormDataElement result 
)
static

◆ decode() [2/2]

template<typename Decoder >
static bool WebCore::FormDataElement::decode ( Decoder &  ,
FormDataElement result 
)
static

◆ encode() [1/2]

template<typename Encoder >
void WebCore::FormDataElement::encode ( Encoder &  ) const

◆ encode() [2/2]

template<typename Encoder >
void WebCore::FormDataElement::encode ( Encoder &  encoder) const

◆ isolatedCopy() [1/2]

FormDataElement WebCore::FormDataElement::isolatedCopy ( ) const

◆ isolatedCopy() [2/2]

FormDataElement WebCore::FormDataElement::isolatedCopy ( ) const

Member Data Documentation

◆ m_data

Vector< char > WebCore::FormDataElement::m_data

◆ m_expectedFileModificationTime

double WebCore::FormDataElement::m_expectedFileModificationTime

◆ m_fileLength

int64_t WebCore::FormDataElement::m_fileLength

◆ m_filename

String WebCore::FormDataElement::m_filename

◆ m_fileStart

int64_t WebCore::FormDataElement::m_fileStart

◆ m_generatedFilename

String WebCore::FormDataElement::m_generatedFilename

◆ m_ownsGeneratedFile

bool WebCore::FormDataElement::m_ownsGeneratedFile

◆ m_shouldGenerateFile

bool WebCore::FormDataElement::m_shouldGenerateFile

◆ m_type

Type WebCore::FormDataElement::m_type

◆ m_url

URL WebCore::FormDataElement::m_url

The documentation for this class was generated from the following files: