HttpURLConnection.FixedContentLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The fixed content-length when using fixed-length streaming mode.
[Android.Runtime.Register("fixedContentLength")]
protected int FixedContentLength { get; set; }
[<Android.Runtime.Register("fixedContentLength")>]
member this.FixedContentLength : int with get, set
Property Value
- Attributes
Remarks
The fixed content-length when using fixed-length streaming mode. A value of -1
means fixed-length streaming mode is disabled for output.
<B>NOTE:</B> #fixedContentLengthLong
is recommended instead of this field, as it allows larger content lengths to be set.
Added in 1.5.
Java documentation for java.net.HttpURLConnection.fixedContentLength
.
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.