软件包 | 描述 |
---|---|
java.net |
为实现网络应用程序提供类。
|
Modifier and Type | Method and Description |
---|---|
List<HttpCookie> |
CookieStore.get(URI uri)
检索给定URI相关的cookies,或其域匹配给定的URI。
|
List<HttpCookie> |
CookieStore.getCookies()
获取所有未过期的饼干在饼干店。
|
static List<HttpCookie> |
HttpCookie.parse(String header)
结构设置cookie或set-cookie2字符串饼干。
|
Modifier and Type | Method and Description |
---|---|
void |
CookieStore.add(URI uri, HttpCookie cookie)
添加一个HTTP cookie存储。
|
boolean |
CookieStore.remove(URI uri, HttpCookie cookie)
从商店里取出一块饼干。
|
boolean |
CookiePolicy.shouldAccept(URI uri, HttpCookie cookie)
将被调用,看看这个饼干是否应该被接受。
|
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.