public class HttpClient4BodyEntity
extends org.apache.http.entity.AbstractHttpEntity
HttpBody
转换为HttpEntity
对象Constructor and Description |
---|
HttpClient4BodyEntity(String contentType,
String contentEncoding,
boolean chunked,
HttpBody body)
构造
|
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent() |
long |
getContentLength() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(OutputStream outStream) |
public void writeTo(OutputStream outStream)
public InputStream getContent()
public boolean isStreaming()
public boolean isRepeatable()
public long getContentLength()
Copyright © 2025. All rights reserved.