Language

EntitySerializer Constructors

Definition

Overloads

Name Description
EntitySerializer(IContentLengthStrategy)

Initializes an entity serializer that uses the specified content-length strategy.

EntitySerializer(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

EntitySerializer(IContentLengthStrategy)

Initializes an entity serializer that uses the specified content-length strategy.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/entity/ContentLengthStrategy;)V", "")]
public EntitySerializer(Org.Apache.Http.Entity.IContentLengthStrategy? lenStrategy);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/entity/ContentLengthStrategy;)V", "")>]
new Org.Apache.Http.Impl.Entity.EntitySerializer : Org.Apache.Http.Entity.IContentLengthStrategy -> Org.Apache.Http.Impl.Entity.EntitySerializer

Parameters

lenStrategy
IContentLengthStrategy

The strategy used to determine the message body length.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

EntitySerializer(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected EntitySerializer(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.Entity.EntitySerializer : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.Entity.EntitySerializer

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to