qihoo.open.v1.http
类 HttpClient
java.lang.Object
qihoo.open.v1.http.HttpClient
- 所有已实现的接口:
- Serializable
public class HttpClient
- extends Object
- implements Serializable
- 另请参见:
- 序列化表格
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClient
public HttpClient(org.apache.commons.httpclient.HttpClient client,
String url,
SystemParameter systemParameter)
post
public Response post(List<PostParameter> params)
throws QihooOpenException
- 处理http post请求
- 参数:
params
-
- 返回:
- Response
- 抛出:
QihooOpenException
post
public Response post(PostParameter[] params,
Boolean WithTokenHeader,
int requestCount)
throws QihooOpenException
- 处理http post请求
- 参数:
params
- WithTokenHeader
- requestCount
-
- 返回:
- Response
- 抛出:
QihooOpenException
httpRequest
public Response httpRequest(org.apache.commons.httpclient.HttpMethod method)
throws QihooOpenException
- 参数:
method
-
- 返回:
- Response
- 抛出:
QihooOpenException
httpRequest
public Response httpRequest(org.apache.commons.httpclient.HttpMethod method,
Boolean WithTokenHeader)
throws QihooOpenException
- 参数:
method
- WithTokenHeader
-
- 返回:
- Response
- 抛出:
QihooOpenException
setSystemParameter
public void setSystemParameter(SystemParameter systemParameter)
Copyright © 2013. All rights reserved.