Medium
Object Hierarchy:
Description:
[
CCode ( type_id =
"camel_medium_get_type ()" ) ]
public abstract class Medium :
DataWrapper
Content:
Properties:
Creation methods:
Methods:
- public virtual void add_header (string name, string value)
Adds a header to a Medium.
- public virtual NameValueArray dup_headers ()
Gets an array of all header name/value pairs.
- public virtual unowned DataWrapper? get_content ()
Gets a data wrapper that represents the content of the medium, without
its headers.
- public virtual unowned string? get_header (string name)
Gets the value of the named header in the medium, or
null if it is unset.
- public virtual unowned NameValueArray get_headers ()
Gets an array of all header name/value pairs.
- public virtual void remove_header (string name)
Removes the named header from the medium.
- public virtual void set_content (DataWrapper? content)
Sets the content of this to be
content
.
- public virtual void set_header (string name, string? value)
Sets the value of a header.
Inherited Members:
All known members inherited from class Camel.DataWrapper
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref