Language

HttpProtocolParams.InterfaceConsts Class

Definition

Exposes the protocol parameter names inherited from ICoreProtocolPNames by HttpProtocolParams.

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

Remarks

These inherited names correspond to the Android 5.1.1 CoreProtocolPNames source.

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

Name Description
HttpContentCharset

The parameter name for the default character set used to encode a content body. The parameter value is a string.

HttpElementCharset

The parameter name for the character set used to encode HTTP protocol elements. The parameter value is a string.

OriginServer

The parameter name for the Server header value. The parameter value is a string.

ProtocolVersion

The parameter name for the default protocol version. The parameter value is a ProtocolVersion.

StrictTransferEncoding

The Boolean parameter name that controls whether responses with an invalid Transfer-Encoding header are rejected.

UseExpectContinue

The Boolean parameter name that enables the Expect: 100-continue exchange for requests with a body.

UserAgent

The parameter name for the User-Agent header value. The parameter value is a string.

WaitForContinue

The integer parameter name for the maximum time, in milliseconds, to wait for a 100-continue response.

Applies to