Inheritance
System.Object
MessageHeaders
Implements
IDictionary
IDictionary<System.String, System.Object>
Assembly: Steeltoe.Messaging.MessagingBase.dll
public class MessageHeaders : object, IMessageHeaders
Constructors
|
Edit this page
View Source
Declaration
public MessageHeaders(IDictionary<string, object> headers = null)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headers |
|
|
Edit this page
View Source
Declaration
public MessageHeaders(IDictionary<string, object> headers, string id, long? timestamp)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.Object> |
headers |
|
System.String |
id |
|
System.Nullable<System.Int64> |
timestamp |
|
|
Edit this page
View Source
Declaration
protected MessageHeaders(MessageHeaders other)
Parameters
Fields
|
Edit this page
View Source
Declaration
public const string CONTENT_TYPE = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string CONTENT_TYPE_BYTES = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string CONTENT_TYPE_DOTNET_SERIALIZED_OBJECT = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string CONTENT_TYPE_ID = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string CONTENT_TYPE_JAVA_SERIALIZED_OBJECT = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string CONTENT_TYPE_JSON = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string CONTENT_TYPE_JSON_ALT = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string CONTENT_TYPE_TEXT_PLAIN = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string CONTENT_TYPE_XML = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string ERROR_CHANNEL = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
protected readonly IDictionary<string, object> headers
Field Value
Type |
Description |
IDictionary<System.String, System.Object> |
|
|
Edit this page
View Source
Declaration
public const string ID = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public static readonly string ID_VALUE_NONE
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string INFERRED_ARGUMENT_TYPE = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string INTERNAL = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string KEY_TYPE_ID = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string REPLY_CHANNEL = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string TIMESTAMP = null
Field Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public const string TYPE_ID = null
Field Value
Type |
Description |
System.String |
|
Properties
|
Edit this page
View Source
Declaration
public virtual int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
Declaration
public virtual object ErrorChannel { get; }
Property Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
Declaration
public virtual string Id { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public virtual bool IsFixedSize { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public virtual bool IsReadOnly { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public virtual bool IsSynchronized { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public virtual object this[object key] { get; set; }
Parameters
Type |
Name |
Description |
System.Object |
key |
|
Property Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
Declaration
public virtual object this[string key] { get; set; }
Parameters
Type |
Name |
Description |
System.String |
key |
|
Property Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
Declaration
public virtual ICollection<string> Keys { get; }
Property Value
Type |
Description |
ICollection<System.String> |
|
|
Edit this page
View Source
Declaration
protected virtual IDictionary<string, object> RawHeaders { get; }
Property Value
Type |
Description |
IDictionary<System.String, System.Object> |
|
|
Edit this page
View Source
Declaration
public virtual object ReplyChannel { get; }
Property Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
Declaration
public virtual object SyncRoot { get; }
Property Value
Type |
Description |
System.Object |
|
|
Edit this page
View Source
Declaration
public virtual long? Timestamp { get; }
Property Value
Type |
Description |
System.Nullable<System.Int64> |
|
|
Edit this page
View Source
Declaration
public virtual ICollection<object> Values { get; }
Property Value
Type |
Description |
ICollection<System.Object> |
|
Methods
|
Edit this page
View Source
Declaration
public virtual void Add(KeyValuePair<string, object> item)
Parameters
Type |
Name |
Description |
KeyValuePair<System.String, System.Object> |
item |
|
|
Edit this page
View Source
Declaration
public virtual void Add(object key, object value)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
System.Object |
value |
|
|
Edit this page
View Source
Declaration
public virtual void Add(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
|
Edit this page
View Source
Declaration
public virtual void Clear()
|
Edit this page
View Source
Declaration
public virtual bool Contains(KeyValuePair<string, object> item)
Parameters
Type |
Name |
Description |
KeyValuePair<System.String, System.Object> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public virtual bool Contains(object key)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public virtual bool ContainsKey(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public virtual void CopyTo(Array array, int index)
Parameters
Type |
Name |
Description |
Array |
array |
|
System.Int32 |
index |
|
|
Edit this page
View Source
Declaration
public virtual void CopyTo(KeyValuePair<string, object>[] array, int arrayIndex)
Parameters
Type |
Name |
Description |
KeyValuePair<System.String, System.Object>[] |
array |
|
System.Int32 |
arrayIndex |
|
|
Edit this page
View Source
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public static MessageHeaders From(MessageHeaders other)
Parameters
Returns
|
Edit this page
View Source
Declaration
public virtual T Get<T>(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type Parameters
|
Edit this page
View Source
Declaration
public virtual IEnumerator<KeyValuePair<string, object>> GetEnumerator()
Returns
Type |
Description |
IEnumerator<KeyValuePair<System.String, System.Object>> |
|
|
Edit this page
View Source
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
Declaration
public virtual bool Remove(KeyValuePair<string, object> item)
Parameters
Type |
Name |
Description |
KeyValuePair<System.String, System.Object> |
item |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public virtual void Remove(object key)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
|
Edit this page
View Source
Declaration
public virtual bool Remove(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public virtual bool TryGetValue(string key, out object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
protected void UpdateHeaders(string id, long? timestamp)
Parameters
Type |
Name |
Description |
System.String |
id |
|
System.Nullable<System.Int64> |
timestamp |
|
Implements
IDictionary
IDictionary<, >