Camel.MessageContentInfo¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
childs |
r/w |
||
description |
r/w |
||
disposition |
r/w |
||
encoding |
r/w |
||
id |
r/w |
||
next |
r/w |
||
parent |
r/w |
||
size |
r/w |
||
type |
r/w |
Methods¶
class |
|
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
Details¶
- class Camel.MessageContentInfo¶
- classmethod new()¶
- Returns:
a newly allocated
Camel.MessageContentInfo- Return type:
Allocate a new
Camel.MessageContentInfo.
- classmethod new_from_headers(headers)¶
- Parameters:
headers (
Camel.NameValueArray) –- Return type:
- classmethod new_from_message(mime_part)¶
- Parameters:
mime_part (
Camel.MimePart) –- Return type:
- classmethod new_from_parser(parser)¶
- Parameters:
parser (
Camel.MimeParser) –- Return type:
- copy()¶
- Returns:
- Return type:
New in version 3.24.
- free()¶
Recursively frees the content info self, and all associated memory.
- traverse(func, *user_data)¶
- Parameters:
- Returns:
Falseon error or when the func returnedFalse, otherwiseTrue- Return type:
Calls the func for each
Camel.MessageContentInfo, including the top one. The func can returnTrueto continue processing orFalseto stop it.