public class NullHttpClient extends Object implements HttpClient, Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
HttpResponse |
delete(String url) |
HttpResponse |
delete(String url,
HttpParameter[] params) |
HttpResponse |
get(String url) |
HttpResponse |
get(String url,
HttpParameter[] params) |
static HttpClient |
getInstance() |
HttpResponse |
post(String url) |
HttpResponse |
post(String url,
HttpParameter[] params) |
HttpResponse |
put(String url) |
HttpResponse |
put(String url,
HttpParameter[] params) |
public static HttpClient getInstance()
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.