Table of Contents

Class Headers

Namespace
Org.Apache.Kafka.Common.Header
Assembly
MASES.KNet.dll
public class Headers : Iterable<Header>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IEnumerableExtension, IEnumerable<Header>, IEnumerable, IAsyncEnumerable<Header>, IIterable<Header>, IHeaders
Inheritance
JVMBridgeBase
JVMBridgeBase<Iterable<Header>>
JVMBridgeBaseEnumerable<Iterable<Header>>
JVMBridgeBaseEnumerable<Iterable<Header>, Header>
Headers
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
IEnumerableExtension
Inherited Members
JVMBridgeBaseEnumerable<Iterable<Header>, Header>.GetEnumerator()
JVMBridgeBaseEnumerable<Iterable<Header>>.GetEnumerator()
JVMBridgeBase<Iterable<Header>>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Iterable<Header>>.IsAssignableFrom<T>()
JVMBridgeBase<Iterable<Header>>.Execute<T>(params T[])
JVMBridgeBase<Iterable<Header>>.DynBridgeClazz
JVMBridgeBase<Iterable<Header>>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener

Constructors

Headers()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("Headers class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Headers()

Headers(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("Headers class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Headers(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

Methods

Add(String, byte[])

public Headers Add(String arg0, byte[] arg1)

Parameters

arg0 String

String

arg1 byte[]

byte

Returns

Headers

Headers

Exceptions

IllegalStateException

Add(Header)

public Headers Add(Header arg0)

Parameters

arg0 Header

Header

Returns

Headers

Headers

Exceptions

IllegalStateException

Create()

Helper to create Headers

public static Headers Create()

Returns

Headers

Create(Iterable<Header>)

Helper to create Headers

public static Headers Create(Iterable<Header> headers)

Parameters

headers Iterable<Header>

Returns

Headers

Create(Header[])

Helper to create Headers

public static Headers Create(Header[] headers)

Parameters

headers Header[]

Returns

Headers

HeadersMethod(String)

public Iterable<Header> HeadersMethod(String arg0)

Parameters

arg0 String

String

Returns

Iterable<Header>

Iterable

LastHeader(String)

public Header LastHeader(String arg0)

Parameters

arg0 String

String

Returns

Header

Header

Remove(String)

public Headers Remove(String arg0)

Parameters

arg0 String

String

Returns

Headers

Headers

Exceptions

IllegalStateException

ToArray()

public Header[] ToArray()

Returns

Header[]

Header