Uses of Class
edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.Cookie
Package
Description
Classes and interfaces supporting the client side of the HTTP protocol.
Provides cookie handling in conjunction with
Cookie
.-
Uses of Cookie in edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient
Modifier and TypeMethodDescriptionCookie[]
HttpState.getCookies()
Returns an array ofcookies
that this HTTP state currently contains.Cookie[]
HttpState.getCookies
(String domain, int port, String path, boolean secure) Deprecated.use CookieSpec#match(String, int, String, boolean, Cookie)Modifier and TypeMethodDescriptionvoid
Adds anHTTP cookie
, replacing any existing equivalent cookies.void
HttpState.addCookies
(Cookie[] cookies) Adds an array ofHTTP cookies
. -
Uses of Cookie in edu.internet2.middleware.grouperClientExt.org.apache.commons.httpclient.cookie
Modifier and TypeMethodDescriptionCookie[]
Determines which of an array of Cookies matches a location.Cookie[]
Return an array ofCookie
s that should be submitted with a request with given attributes, false otherwise.Cookie[]
Returns an emptycookie
array.Cookie[]
Parse the "Set-Cookie" Header into an array of Cookies.Cookie[]
Parse the "Set-Cookie" header value into Cookie array.Cookie[]
Cookie[]
Parses the Set-Cookie value into an array of Cookies.Cookie[]
Returns an emptycookie
array.Cookie[]
Returns an emptycookie
array.Cookie[]
Parses the Set-Cookie value into an array of Cookies.Cookie[]
Parses the Set-Cookie2 value into an array of Cookies.Cookie[]
Modifier and TypeMethodDescriptionCookieSpec.formatCookie
(Cookie cookie) Create a "Cookie" header value for an array of cookies.CookieSpecBase.formatCookie
(Cookie cookie) Return a string suitable for sending in a "Cookie" headerIgnoreCookiesSpec.formatCookie
(Cookie cookie) RFC2109Spec.formatCookie
(Cookie cookie) Return a string suitable for sending in a "Cookie" header as defined in RFC 2109RFC2965Spec.formatCookie
(Cookie cookie) Return a string suitable for sending in a "Cookie" header as defined in RFC 2965CookieSpec.formatCookieHeader
(Cookie cookie) Create a "Cookie" Header for single Cookie.CookieSpec.formatCookieHeader
(Cookie[] cookies) Create a "Cookie" Header for an array of Cookies.CookieSpecBase.formatCookieHeader
(Cookie cookie) CookieSpecBase.formatCookieHeader
(Cookie[] cookies) IgnoreCookiesSpec.formatCookieHeader
(Cookie cookie) IgnoreCookiesSpec.formatCookieHeader
(Cookie[] cookies) CookieSpec.formatCookies
(Cookie[] cookies) Create a "Cookie" header value for an array of cookies.CookieSpecBase.formatCookies
(Cookie[] cookies) Create a "Cookie" header value containing allCookie
s in cookies suitable for sending in a "Cookie" headerIgnoreCookiesSpec.formatCookies
(Cookie[] cookies) RFC2109Spec.formatCookies
(Cookie[] cookies) Create a RFC 2109 compliant "Cookie" header value containing allCookie
s in cookies suitable for sending in a "Cookie" headerRFC2965Spec.formatCookies
(Cookie[] cookies) Create a RFC 2965 compliant "Cookie" header value containing allCookie
s suitable for sending in a "Cookie" headerboolean
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
Determines if a Cookie matches a location.Cookie[]
Determines which of an array of Cookies matches a location.boolean
Return true if the cookie should be submitted with a request with given attributes, false otherwise.Cookie[]
Return an array ofCookie
s that should be submitted with a request with given attributes, false otherwise.boolean
Cookie[]
Returns an emptycookie
array.boolean
Return true if the cookie should be submitted with a request with given attributes, false otherwise.void
Parse the given cookie attribute value and update the correspondingCookie
property.void
CookieSpec.parseAttribute
(NameValuePair attribute, Cookie cookie) Parse the cookie attribute and update the corresponsing Cookie properties.void
CookieSpecBase.parseAttribute
(NameValuePair attribute, Cookie cookie) Parse the cookie attribute and update the corresponsingCookie
properties.void
IgnoreCookiesSpec.parseAttribute
(NameValuePair attribute, Cookie cookie) Does nothing.void
NetscapeDraftSpec.parseAttribute
(NameValuePair attribute, Cookie cookie) Parse the cookie attribute and update the corresponsingCookie
properties as defined by the Netscape draft specificationvoid
RFC2109Spec.parseAttribute
(NameValuePair attribute, Cookie cookie) Parse RFC 2109 specific cookie attribute and update the corresponsingCookie
properties.void
RFC2965Spec.parseAttribute
(NameValuePair attribute, Cookie cookie) Parse RFC 2965 specific cookie attribute and update the corresponsingCookie
properties.void
CookieAttributeHandler.validate
(Cookie cookie, CookieOrigin origin) Peforms cookie validation for the given attribute value.void
Validate the cookie according to validation rules defined by the cookie specification.void
Performs most commonCookie
validationvoid
Does nothing.void
Performs Netscape draft compliantCookie
validationvoid
Performs RFC 2109 compliantCookie
validationvoid
Performs RFC 2965 compliantCookie
validation