public class HttpUtil extends Object
| Constructor and Description |
|---|
HttpUtil() |
| Modifier and Type | Method and Description |
|---|---|
static int |
get(org.apache.http.conn.DnsResolver resolver,
String url,
Map<String,List<String>> requestHeaders,
ByteArrayQueue responseBody,
Map<String,List<String>> responseHeaders,
int timeout) |
static int |
get(HttpProxy httpProxy,
org.apache.http.conn.DnsResolver resolver,
String url,
Map<String,List<String>> requestHeaders,
ByteArrayQueue responseBody,
Map<String,List<String>> responseHeaders,
int timeout) |
static int |
head(org.apache.http.conn.DnsResolver resolver,
String url,
Map<String,List<String>> requestHeaders,
Map<String,List<String>> responseHeaders,
int timeout) |
static int |
head(HttpProxy httpProxy,
org.apache.http.conn.DnsResolver resolver,
String url,
Map<String,List<String>> requestHeaders,
Map<String,List<String>> responseHeaders,
int timeout) |
static int |
post(org.apache.http.conn.DnsResolver resolver,
String url,
ByteArrayQueue requestBody,
Map<String,List<String>> requestHeaders,
ByteArrayQueue responseBody,
Map<String,List<String>> responseHeaders,
int timeout) |
static int |
post(HttpProxy httpProxy,
org.apache.http.conn.DnsResolver resolver,
String url,
ByteArrayQueue requestBody,
Map<String,List<String>> requestHeaders,
ByteArrayQueue responseBody,
Map<String,List<String>> responseHeaders,
int timeout) |
static int |
recv(InputStream in,
ByteArrayQueue responseBody,
Map<String,List<String>> responseHeaders,
boolean head,
boolean[] connectionClose) |
public static int recv(InputStream in, ByteArrayQueue responseBody, Map<String,List<String>> responseHeaders, boolean head, boolean[] connectionClose) throws IOException
IOExceptionpublic static int head(org.apache.http.conn.DnsResolver resolver,
String url,
Map<String,List<String>> requestHeaders,
Map<String,List<String>> responseHeaders,
int timeout)
throws IOException
IOExceptionpublic static int get(org.apache.http.conn.DnsResolver resolver,
String url,
Map<String,List<String>> requestHeaders,
ByteArrayQueue responseBody,
Map<String,List<String>> responseHeaders,
int timeout)
throws IOException
IOExceptionpublic static int post(org.apache.http.conn.DnsResolver resolver,
String url,
ByteArrayQueue requestBody,
Map<String,List<String>> requestHeaders,
ByteArrayQueue responseBody,
Map<String,List<String>> responseHeaders,
int timeout)
throws IOException
IOExceptionpublic static int head(HttpProxy httpProxy, org.apache.http.conn.DnsResolver resolver, String url, Map<String,List<String>> requestHeaders, Map<String,List<String>> responseHeaders, int timeout) throws IOException
IOExceptionpublic static int get(HttpProxy httpProxy, org.apache.http.conn.DnsResolver resolver, String url, Map<String,List<String>> requestHeaders, ByteArrayQueue responseBody, Map<String,List<String>> responseHeaders, int timeout) throws IOException
IOExceptionpublic static int post(HttpProxy httpProxy, org.apache.http.conn.DnsResolver resolver, String url, ByteArrayQueue requestBody, Map<String,List<String>> requestHeaders, ByteArrayQueue responseBody, Map<String,List<String>> responseHeaders, int timeout) throws IOException
IOExceptionCopyright © 2019. All rights reserved.