Package | Description |
---|---|
com.sun.xml.ws.transport.http.client |
Modifier and Type | Method and Description |
---|---|
List<HttpCookie> |
InMemoryCookieStore.get(URI uri)
Get all cookies, which:
1) given uri domain-matches with, or, associated with
given uri when added to the cookie store.
|
List<HttpCookie> |
CookieStore.get(URI uri)
Retrieve cookies associated with given URI, or whose domain matches the
given URI.
|
List<HttpCookie> |
InMemoryCookieStore.getCookies()
Get all cookies in cookie store, except those have expired
|
List<HttpCookie> |
CookieStore.getCookies()
Get all not-expired cookies in cookie store.
|
static List<HttpCookie> |
HttpCookie.parse(String header)
Constructs cookies from set-cookie or set-cookie2 header string.
|
Modifier and Type | Method and Description |
---|---|
void |
InMemoryCookieStore.add(URI uri,
HttpCookie cookie)
Add one cookie into cookie store.
|
void |
CookieStore.add(URI uri,
HttpCookie cookie)
Adds one HTTP cookie to the store.
|
void |
HttpCookie.CookieAttributeAssignor.assign(HttpCookie cookie,
String attrName,
String attrValue) |
int |
CookieManager.CookiePathComparator.compare(HttpCookie c1,
HttpCookie c2) |
boolean |
InMemoryCookieStore.remove(URI uri,
HttpCookie ck)
Remove a cookie from store
|
boolean |
CookieStore.remove(URI uri,
HttpCookie cookie)
Remove a cookie from store.
|
boolean |
CookiePolicy.shouldAccept(URI uri,
HttpCookie cookie)
Will be called to see whether or not this cookie should be accepted.
|
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.