ContentLengthOutputStream Constructors

Definition

Overloads

Name Description
ContentLengthOutputStream(ISessionOutputBuffer, Int64)

Initializes a length-limited output stream.

ContentLengthOutputStream(IntPtr, JniHandleOwnership)

Initializes a managed wrapper for the specified Java object.

ContentLengthOutputStream(ISessionOutputBuffer, Int64)

Initializes a length-limited output stream.

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

Parameters

out
ISessionOutputBuffer

The session output buffer.

contentLength
Int64

The maximum number of entity bytes to write.

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

ContentLengthOutputStream(IntPtr, JniHandleOwnership)

Initializes a managed wrapper for the specified Java object.

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

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