Uses of Interface
org.apache.http.cookie.Cookie
-
Packages that use Cookie Package Description org.apache.http.client Client HTTP communication APIs.org.apache.http.cookie Client HTTP state management APIs.org.apache.http.impl.client Default HTTP client implementation.org.apache.http.impl.cookie Default implementations of standard and common HTTP state management policies. -
-
Uses of Cookie in org.apache.http.client
Methods in org.apache.http.client that return types with arguments of type Cookie Modifier and Type Method Description java.util.List<Cookie>
CookieStore. getCookies()
Returns all cookies contained in this store.Methods in org.apache.http.client with parameters of type Cookie Modifier and Type Method Description void
CookieStore. addCookie(Cookie cookie)
Adds anCookie
, replacing any existing equivalent cookies. -
Uses of Cookie in org.apache.http.cookie
Subinterfaces of Cookie in org.apache.http.cookie Modifier and Type Interface Description interface
ClientCookie
ClientCookie extends the standardCookie
interface with additional client specific functionality such ability to retrieve original cookie attributes exactly as they were specified by the origin server.interface
SetCookie
This interface represents aSet-Cookie
response header sent by the origin server to the HTTP agent in order to maintain a conversational state.interface
SetCookie2
This interface represents aSet-Cookie2
response header sent by the origin server to the HTTP agent in order to maintain a conversational state.Methods in org.apache.http.cookie that return types with arguments of type Cookie Modifier and Type Method Description java.util.List<Cookie>
CookieSpec. parse(org.apache.http.Header header, CookieOrigin origin)
Parse the"Set-Cookie"
Header into an array of Cookies.Methods in org.apache.http.cookie with parameters of type Cookie Modifier and Type Method Description int
CookieIdentityComparator. compare(Cookie c1, Cookie c2)
int
CookiePathComparator. compare(Cookie c1, Cookie c2)
int
CookiePriorityComparator. compare(Cookie c1, Cookie c2)
boolean
CookieAttributeHandler. match(Cookie cookie, CookieOrigin origin)
Matches the given value (property of the destination host where request is being submitted) with the corresponding cookie attribute.boolean
CookieSpec. match(Cookie cookie, CookieOrigin origin)
Determines if a Cookie matches the target location.void
CookieAttributeHandler. validate(Cookie cookie, CookieOrigin origin)
Peforms cookie validation for the given attribute value.void
CookieSpec. validate(Cookie cookie, CookieOrigin origin)
Validate the cookie according to validation rules defined by the cookie specification.Method parameters in org.apache.http.cookie with type arguments of type Cookie Modifier and Type Method Description java.util.List<org.apache.http.Header>
CookieSpec. formatCookies(java.util.List<Cookie> cookies)
Create"Cookie"
headers for an array of Cookies. -
Uses of Cookie in org.apache.http.impl.client
Methods in org.apache.http.impl.client that return types with arguments of type Cookie Modifier and Type Method Description java.util.List<Cookie>
BasicCookieStore. getCookies()
Returns an immutable array ofcookies
that this HTTP state currently contains.Methods in org.apache.http.impl.client with parameters of type Cookie Modifier and Type Method Description void
BasicCookieStore. addCookie(Cookie cookie)
Adds anHTTP cookie
, replacing any existing equivalent cookies.void
BasicCookieStore. addCookies(Cookie[] cookies)
Adds an array ofHTTP cookies
. -
Uses of Cookie in org.apache.http.impl.cookie
Classes in org.apache.http.impl.cookie that implement Cookie Modifier and Type Class Description class
BasicClientCookie
Default implementation ofSetCookie
.class
BasicClientCookie2
Default implementation ofSetCookie2
.Methods in org.apache.http.impl.cookie that return types with arguments of type Cookie Modifier and Type Method Description java.util.List<Cookie>
BrowserCompatSpec. parse(org.apache.http.Header header, CookieOrigin origin)
Deprecated.protected java.util.List<Cookie>
CookieSpecBase. parse(org.apache.http.HeaderElement[] elems, CookieOrigin origin)
java.util.List<Cookie>
DefaultCookieSpec. parse(org.apache.http.Header header, CookieOrigin origin)
java.util.List<Cookie>
IgnoreSpec. parse(org.apache.http.Header header, CookieOrigin origin)
java.util.List<Cookie>
NetscapeDraftSpec. parse(org.apache.http.Header header, CookieOrigin origin)
Parses the Set-Cookie value into an array ofCookie
s.java.util.List<Cookie>
RFC2109Spec. parse(org.apache.http.Header header, CookieOrigin origin)
protected java.util.List<Cookie>
RFC2965Spec. parse(org.apache.http.HeaderElement[] elems, CookieOrigin origin)
java.util.List<Cookie>
RFC2965Spec. parse(org.apache.http.Header header, CookieOrigin origin)
java.util.List<Cookie>
RFC6265CookieSpec. parse(org.apache.http.Header header, CookieOrigin origin)
Methods in org.apache.http.impl.cookie with parameters of type Cookie Modifier and Type Method Description protected void
RFC2109Spec. formatCookieAsVer(org.apache.http.util.CharArrayBuffer buffer, Cookie cookie, int version)
Return a string suitable for sending in a"Cookie"
header as defined in RFC 2109 for backward compatibility with cookie version 0protected void
RFC2965Spec. formatCookieAsVer(org.apache.http.util.CharArrayBuffer buffer, Cookie cookie, int version)
Adds valid Port attribute value, e.g.boolean
AbstractCookieAttributeHandler. match(Cookie cookie, CookieOrigin origin)
boolean
BasicDomainHandler. match(Cookie cookie, CookieOrigin origin)
boolean
BasicPathHandler. match(Cookie cookie, CookieOrigin origin)
boolean
BasicSecureHandler. match(Cookie cookie, CookieOrigin origin)
boolean
CookieSpecBase. match(Cookie cookie, CookieOrigin origin)
boolean
DefaultCookieSpec. match(Cookie cookie, CookieOrigin origin)
boolean
IgnoreSpec. match(Cookie cookie, CookieOrigin origin)
boolean
NetscapeDomainHandler. match(Cookie cookie, CookieOrigin origin)
boolean
PublicSuffixDomainFilter. match(Cookie cookie, CookieOrigin origin)
Never matches if the cookie's domain is from the blacklist.boolean
PublicSuffixFilter. match(Cookie cookie, CookieOrigin origin)
Deprecated.Never matches if the cookie's domain is from the blacklist.boolean
RFC2109DomainHandler. match(Cookie cookie, CookieOrigin origin)
boolean
RFC2965CommentUrlAttributeHandler. match(Cookie cookie, CookieOrigin origin)
boolean
RFC2965DiscardAttributeHandler. match(Cookie cookie, CookieOrigin origin)
boolean
RFC2965DomainAttributeHandler. match(Cookie cookie, CookieOrigin origin)
Match cookie domain attribute.boolean
RFC2965PortAttributeHandler. match(Cookie cookie, CookieOrigin origin)
Match cookie port attribute.boolean
RFC2965Spec. match(Cookie cookie, CookieOrigin origin)
boolean
RFC2965VersionAttributeHandler. match(Cookie cookie, CookieOrigin origin)
boolean
RFC6265CookieSpec. match(Cookie cookie, CookieOrigin origin)
void
AbstractCookieAttributeHandler. validate(Cookie cookie, CookieOrigin origin)
void
BasicDomainHandler. validate(Cookie cookie, CookieOrigin origin)
void
BasicPathHandler. validate(Cookie cookie, CookieOrigin origin)
void
CookieSpecBase. validate(Cookie cookie, CookieOrigin origin)
void
DefaultCookieSpec. validate(Cookie cookie, CookieOrigin origin)
void
NetscapeDomainHandler. validate(Cookie cookie, CookieOrigin origin)
void
PublicSuffixDomainFilter. validate(Cookie cookie, CookieOrigin origin)
void
PublicSuffixFilter. validate(Cookie cookie, CookieOrigin origin)
Deprecated.void
RFC2109DomainHandler. validate(Cookie cookie, CookieOrigin origin)
void
RFC2109Spec. validate(Cookie cookie, CookieOrigin origin)
void
RFC2109VersionHandler. validate(Cookie cookie, CookieOrigin origin)
void
RFC2965CommentUrlAttributeHandler. validate(Cookie cookie, CookieOrigin origin)
void
RFC2965DiscardAttributeHandler. validate(Cookie cookie, CookieOrigin origin)
void
RFC2965DomainAttributeHandler. validate(Cookie cookie, CookieOrigin origin)
Validate cookie domain attribute.void
RFC2965PortAttributeHandler. validate(Cookie cookie, CookieOrigin origin)
Validate cookie port attribute.void
RFC2965Spec. validate(Cookie cookie, CookieOrigin origin)
void
RFC2965VersionAttributeHandler. validate(Cookie cookie, CookieOrigin origin)
validate cookie version attribute.void
RFC6265CookieSpec. validate(Cookie cookie, CookieOrigin origin)
Method parameters in org.apache.http.impl.cookie with type arguments of type Cookie Modifier and Type Method Description java.util.List<org.apache.http.Header>
BrowserCompatSpec. formatCookies(java.util.List<Cookie> cookies)
Deprecated.java.util.List<org.apache.http.Header>
DefaultCookieSpec. formatCookies(java.util.List<Cookie> cookies)
java.util.List<org.apache.http.Header>
IgnoreSpec. formatCookies(java.util.List<Cookie> cookies)
java.util.List<org.apache.http.Header>
NetscapeDraftSpec. formatCookies(java.util.List<Cookie> cookies)
java.util.List<org.apache.http.Header>
RFC2109Spec. formatCookies(java.util.List<Cookie> cookies)
java.util.List<org.apache.http.Header>
RFC6265CookieSpec. formatCookies(java.util.List<Cookie> cookies)
-