Skip to content

Most visited

Recently visited

navigation

CookieSpecPNames | Android Developers

to top
Android APIs
Added in 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

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"
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.