to top
Android APIs
Since: API Level 1
public interface

CookieSpecPNames

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

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

Since: 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

Since: 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"