| 程序包 | 说明 |
|---|---|
| org.apache.hc.core5.http.io.entity |
HTTP message entity APIs based on the classic (blocking) I/O model.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static HttpEntity |
HttpEntities.create(IOCallback<OutputStream> callback,
ContentType contentType) |
static HttpEntity |
HttpEntities.create(IOCallback<OutputStream> callback,
ContentType contentType,
Header... trailers) |
static HttpEntity |
HttpEntities.createGzipped(IOCallback<OutputStream> callback,
ContentType contentType) |
| 构造器和说明 |
|---|
EntityTemplate(long contentLength,
ContentType contentType,
String contentEncoding,
IOCallback<OutputStream> callback) |
Copyright © 2023. All rights reserved.