ContentLengthInputStream Constructors

Definition

Overloads

Name Description
ContentLengthInputStream(ISessionInputBuffer, Int64)

Initializes a length-limited input stream.

ContentLengthInputStream(IntPtr, JniHandleOwnership)

Initializes a managed wrapper for the specified Java object.

ContentLengthInputStream(ISessionInputBuffer, Int64)

Initializes a length-limited input stream.

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/io/SessionInputBuffer;J)V", "")]
public ContentLengthInputStream(Org.Apache.Http.IO.ISessionInputBuffer? in, long contentLength);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/io/SessionInputBuffer;J)V", "")>]
new Org.Apache.Http.Impl.IO.ContentLengthInputStream : Org.Apache.Http.IO.ISessionInputBuffer * int64 -> Org.Apache.Http.Impl.IO.ContentLengthInputStream

Parameters

in
ISessionInputBuffer

The session input buffer.

contentLength
Int64

The maximum number of entity bytes to read.

Attributes

Remarks

Portions of this page are based on work created and shared by the Apache Software Foundation and used under the terms of the Apache License, Version 2.0.

Applies to

ContentLengthInputStream(IntPtr, JniHandleOwnership)

Initializes a managed wrapper for the specified Java object.

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

Parameters

javaReference
IntPtr

nativeint

The JNI handle of the Java object.

transfer
JniHandleOwnership

The ownership transfer mode for the JNI handle.

Remarks

Portions of this page are based on work created and shared by the Apache Software Foundation and used under the terms of the Apache License, Version 2.0.

Applies to