Android APIs
Added in API level 1
public interface

CookieSpecPNames

org.apache.http.cookie.params.CookieSpecPNames
Known Indirect Subclasses

This interface is deprecated.
Please use openConnection() instead. Please visit this webpage for further details.

Class Overview


Parameter names for cookie specifications in HttpCookie.

Summary


Constants
String DATE_PATTERNS Parameter for the date patterns used for parsing.
String SINGLE_COOKIE_HEADER Parameter for Cookie header formatting.

Constants


public static final String DATE_PATTERNS

Added in API level 1

Parameter for the date patterns used for parsing.

This parameter expects a value of type Collection. The collection elements are of type String and must be compatible with the syntax of SimpleDateFormat.

Constant Value: "http.protocol.cookie-datepatterns"

public static final String SINGLE_COOKIE_HEADER

Added in API level 1

Parameter for Cookie header formatting. Defines whether cookies should be put on a single request header. If not, each cookie is formatted in a seperate Cookie header.

This parameter expects a value of type Boolean.

Constant Value: "http.protocol.single-cookie-header"