| 程序包 | 说明 |
|---|---|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient |
Classes and interfaces supporting the client side of the HTTP protocol.
|
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.cookie |
Provides cookie handling in conjunction with
com.ptteng.mall.order.util.apacheCommonUtil.httpclient.Cookie. |
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.methods |
Classes implementing
com.ptteng.mall.order.util.apacheCommonUtil.httpclient.HttpMethod for the base HTTP methods. |
| com.ptteng.course.util.aliPayUtil.apacheCommonUtil.httpclient.util |
Provides some utility classes for use by HttpClient.
|
| com.ptteng.course.util.aliPayUtil.util.httpClient |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Cookie
HTTP "magic-cookie" represents a piece of state information
that the HTTP agent and the target server can exchange to maintain
a session.
|
class |
Header
An HTTP header.
|
class |
HeaderElement
One element of an HTTP header's value.
|
| 限定符和类型 | 方法和说明 |
|---|---|
NameValuePair |
HeaderElement.getParameterByName(String name)
Returns parameter with the given name, if found.
|
NameValuePair[] |
HeaderElement.getParameters()
Get parameters, if any.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HttpMethodBase.setQueryString(NameValuePair[] params)
Sets the query string of this HTTP method.
|
void |
HttpMethod.setQueryString(NameValuePair[] params)
Sets the query string of this HTTP method.
|
| 构造器和说明 |
|---|
HeaderElement(String name,
String value,
NameValuePair[] parameters)
Constructor with name, value and parameters.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
NameValuePair |
PostMethod.getParameter(String paramName)
Gets the parameter of the specified name.
|
NameValuePair[] |
PostMethod.getParameters()
Gets the parameters currently added to the PostMethod.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PostMethod.addParameter(NameValuePair param)
Adds a new parameter to be used in the POST request body.
|
void |
PostMethod.addParameters(NameValuePair[] parameters)
Adds an array of parameters to be used in the POST request body.
|
void |
PostMethod.setRequestBody(NameValuePair[] parametersBody)
Sets an array of parameters to be used in the POST request body
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
ParameterFormatter.format(NameValuePair param)
Produces textual representaion of the attribute/value pair using
formatting rules defined in RFC 2616
|
void |
ParameterFormatter.format(StringBuffer buffer,
NameValuePair param)
Produces textual representaion of the attribute/value pair using
formatting rules defined in RFC 2616
|
static String |
EncodingUtil.formUrlEncode(NameValuePair[] pairs,
String charset)
Form-urlencoding routine.
|
| 限定符和类型 | 方法和说明 |
|---|---|
NameValuePair[] |
HttpRequest.getParameters() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
HttpRequest.setParameters(NameValuePair[] parameters) |
protected String |
HttpProtocolHandler.toString(NameValuePair[] nameValues)
将NameValuePairs数组转变为字符串
|
Copyright © 2017. All rights reserved.