public abstract class HttpClientBase extends Object implements HttpClient, Serializable
| 限定符和类型 | 字段和说明 |
|---|---|
protected HttpClientConfiguration |
conf |
| 构造器和说明 |
|---|
HttpClientBase(HttpClientConfiguration conf) |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpResponse |
delete(String url) |
HttpResponse |
delete(String url,
HttpParameter[] params) |
HttpResponse |
get(String url) |
HttpResponse |
get(String url,
HttpParameter[] params) |
HttpResponse |
post(String url) |
HttpResponse |
post(String url,
HttpParameter[] params) |
HttpResponse |
put(String url) |
HttpResponse |
put(String url,
HttpParameter[] params) |
HttpResponse |
request(HttpRequest request) |
protected final HttpClientConfiguration conf
public HttpClientBase(HttpClientConfiguration conf)
public HttpResponse request(HttpRequest request) throws IOException
public HttpResponse get(String url) throws IOException
public HttpResponse get(String url, HttpParameter[] params) throws IOException
public HttpResponse post(String url) throws IOException
public HttpResponse post(String url, HttpParameter[] params) throws IOException
public HttpResponse delete(String url) throws IOException
public HttpResponse delete(String url, HttpParameter[] params) throws IOException
public HttpResponse put(String url) throws IOException
public HttpResponse put(String url, HttpParameter[] params) throws IOException
Copyright © 2015. All rights reserved.