| 程序包 | 说明 |
|---|---|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.cookie |
Provides cookie handling in conjunction with
com.ptteng.mall.order.util.apacheCommonUtil.httpclient.Cookie. |
| 限定符和类型 | 方法和说明 |
|---|---|
Cookie[] |
IgnoreCookiesSpec.parse(String host,
int port,
String path,
boolean secure,
Header header)
Returns an empty
cookie array. |
Cookie[] |
CookieSpecBase.parse(String host,
int port,
String path,
boolean secure,
Header header)
|
Cookie[] |
CookieSpec.parse(String host,
int port,
String path,
boolean secure,
Header header)
Parse the "Set-Cookie" Header into an array of Cookies.
|
Cookie[] |
NetscapeDraftSpec.parse(String host,
int port,
String path,
boolean secure,
String header)
Parses the Set-Cookie value into an array of Cookies.
|
Cookie[] |
IgnoreCookiesSpec.parse(String host,
int port,
String path,
boolean secure,
String header)
Returns an empty
cookie array. |
Cookie[] |
CookieSpecBase.parse(String host,
int port,
String path,
boolean secure,
String header)
Parses the Set-Cookie value into an array of Cookies.
|
Cookie[] |
CookieSpec.parse(String host,
int port,
String path,
boolean secure,
String header)
Parse the "Set-Cookie" header value into Cookie array.
|
void |
RFC2109Spec.parseAttribute(NameValuePair attribute,
Cookie cookie)
Parse RFC 2109 specific cookie attribute and update the corresponsing
Cookie properties. |
void |
NetscapeDraftSpec.parseAttribute(NameValuePair attribute,
Cookie cookie)
Parse the cookie attribute and update the corresponsing
Cookie
properties as defined by the Netscape draft specification |
void |
IgnoreCookiesSpec.parseAttribute(NameValuePair attribute,
Cookie cookie)
Does nothing.
|
void |
CookieSpecBase.parseAttribute(NameValuePair attribute,
Cookie cookie)
Parse the cookie attribute and update the corresponsing
Cookie
properties. |
void |
CookieSpec.parseAttribute(NameValuePair attribute,
Cookie cookie)
Parse the cookie attribute and update the corresponsing Cookie
properties.
|
void |
RFC2109Spec.validate(String host,
int port,
String path,
boolean secure,
Cookie cookie)
Performs RFC 2109 compliant
Cookie validation |
void |
NetscapeDraftSpec.validate(String host,
int port,
String path,
boolean secure,
Cookie cookie)
Performs Netscape draft compliant
Cookie validation |
void |
IgnoreCookiesSpec.validate(String host,
int port,
String path,
boolean secure,
Cookie cookie)
Does nothing.
|
void |
CookieSpecBase.validate(String host,
int port,
String path,
boolean secure,
Cookie cookie)
Performs most common
Cookie validation |
void |
CookieSpec.validate(String host,
int port,
String path,
boolean secure,
Cookie cookie)
Validate the cookie according to validation rules defined by the
cookie specification.
|
Copyright © 2017. All rights reserved.