public class ImHttpClient extends Object
| 构造器和说明 |
|---|
ImHttpClient() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ImResponse |
send(ImRequest imRequest)
发送请求
|
static byte[] |
toByteArray(InputStream input,
int bytesLength) |
static ByteArrayOutputStream |
toByteArrayOutputStream(InputStream input,
int bytesLength) |
public static ImResponse send(ImRequest imRequest) throws Exception
imRequest - Exceptionpublic static ByteArrayOutputStream toByteArrayOutputStream(InputStream input, int bytesLength) throws IOException
input - bytesLength - IOExceptionpublic static byte[] toByteArray(InputStream input, int bytesLength) throws IOException
input - IOExceptionCopyright © 2019. All rights reserved.