软件包 | 描述 |
---|---|
java.net |
为实现网络应用程序提供类。
|
Modifier and Type | Field and Description |
---|---|
static CookiePolicy |
CookiePolicy.ACCEPT_ALL
接受所有饼干的一个预先定义的政策。
|
static CookiePolicy |
CookiePolicy.ACCEPT_NONE
一个预先定义的策略,它不接受任何饼干。
|
static CookiePolicy |
CookiePolicy.ACCEPT_ORIGINAL_SERVER
一个预定义的策略,只接受来自原始服务器的饼干。
|
Modifier and Type | Method and Description |
---|---|
void |
CookieManager.setCookiePolicy(CookiePolicy cookiePolicy)
要设置此饼饼管理器的“饼干”策略。
|
Constructor and Description |
---|
CookieManager(CookieStore store, CookiePolicy cookiePolicy)
创建一个新的饼干管理器与指定的饼干店和饼干政策。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.