Inheritance
System.Object
NativeMessageHeaderAccessor
Assembly: Steeltoe.Messaging.MessagingBase.dll
public class NativeMessageHeaderAccessor : MessageHeaderAccessor, IMessageHeaderAccessor
Constructors
|
Edit this page
View Source
Declaration
protected NativeMessageHeaderAccessor()
|
Edit this page
View Source
Declaration
protected NativeMessageHeaderAccessor(IDictionary<string, List<string>> nativeHeaders)
Parameters
Type |
Name |
Description |
IDictionary<System.String, List<System.String>> |
nativeHeaders |
|
|
Edit this page
View Source
Declaration
protected NativeMessageHeaderAccessor(IMessage message)
Parameters
Fields
|
Edit this page
View Source
Declaration
public const string NATIVE_HEADERS = null
Field Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
Declaration
public void AddNativeHeader(string name, string value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
|
Edit this page
View Source
Declaration
public void AddNativeHeaders(IDictionary<string, List<string>> headers)
Parameters
Type |
Name |
Description |
IDictionary<System.String, List<System.String>> |
headers |
|
|
Edit this page
View Source
Declaration
public bool ContainsNativeHeader(string headerName)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Declaration
public string GetFirstNativeHeader(string headerName)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public static string GetFirstNativeHeader(string headerName, IDictionary<string, object> headers)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
IDictionary<System.String, System.Object> |
headers |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public List<string> GetNativeHeader(string headerName)
Parameters
Type |
Name |
Description |
System.String |
headerName |
|
Returns
Type |
Description |
List<System.String> |
|
|
Edit this page
View Source
Declaration
protected virtual IDictionary<string, List<string>> GetNativeHeaders()
Returns
Type |
Description |
IDictionary<System.String, List<System.String>> |
|
|
Edit this page
View Source
Declaration
public List<string> RemoveNativeHeader(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
List<System.String> |
|
|
Edit this page
View Source
Declaration
public override void SetImmutable()
Overrides
|
Edit this page
View Source
Declaration
public void SetNativeHeader(string name, string value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
|
Edit this page
View Source
Declaration
public virtual IDictionary<string, List<string>> ToNativeHeaderDictionary()
Returns
Type |
Description |
IDictionary<System.String, List<System.String>> |
|
Implements