共用方式為


HttpConnectionParams.InterfaceConsts Class

Definition

public static class HttpConnectionParams.InterfaceConsts
type HttpConnectionParams.InterfaceConsts = class
Inheritance
HttpConnectionParams.InterfaceConsts

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.

Fields

ConnectionTimeout

Determines the timeout until a connection is etablished.

MaxHeaderCount

Determines the maximum HTTP header count allowed.

MaxLineLength

Determines the maximum line length limit.

SocketBufferSize

Determines the size of the internal socket buffer used to buffer data while receiving / transmitting HTTP messages.

SoLinger

Sets SO_LINGER with the specified linger time in seconds.

SoTimeout

Defines the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data.

StaleConnectionCheck

Determines whether stale connection check is to be used.

TcpNodelay

Determines whether Nagle's algorithm is to be used.

Applies to