@Deprecated public class HttpUtilClient extends Object
program: Sinlmao Commons Network Utils
description: HTTP Client工具类
create: 2019-08-01 11:11
| 构造器和说明 |
|---|
HttpUtilClient()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static HttpUtilResponse |
send(HttpUtilRequest httpUtilRequest)
已过时。
发送请求
|
static byte[] |
toByteArray(InputStream input,
int bytesLength)
已过时。
|
static ByteArrayOutputStream |
toByteArrayOutputStream(InputStream input,
int bytesLength)
已过时。
|
public static HttpUtilResponse send(HttpUtilRequest httpUtilRequest) throws Exception
httpUtilRequest - HttpUtilRequest请求对象Exception - 异常HttpUtilRequestpublic static ByteArrayOutputStream toByteArrayOutputStream(InputStream input, int bytesLength) throws IOException
input - 输入流bytesLength - 数据大小IOException - 异常ByteArrayOutputStreampublic static byte[] toByteArray(InputStream input, int bytesLength) throws IOException
input - 输入流IOException - 异常Copyright © 2021. All rights reserved.