다음을 통해 공유


CoreConnectionPNames.MaxHeaderCount Field

Definition

Determines the maximum HTTP header count allowed.

[Android.Runtime.Register("MAX_HEADER_COUNT")]
public const string MaxHeaderCount;
[<Android.Runtime.Register("MAX_HEADER_COUNT")>]
val mutable MaxHeaderCount : string

Field Value

Attributes

Remarks

Determines the maximum HTTP header count allowed. If set to a positive value, the number of HTTP headers received from the data stream exceeding this limit will cause an IOException. A negative or zero value will effectively disable the check.

This parameter expects a value of type Integer.

Java documentation for org.apache.http.params.CoreConnectionPNames.MAX_HEADER_COUNT.

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