类 HttpClientTransport.WritableHttpEntity
java.lang.Object
org.apache.hc.core5.http.io.entity.AbstractHttpEntity
cn.taketoday.buildpack.platform.docker.transport.HttpClientTransport.WritableHttpEntity
- 所有已实现的接口:
Closeable,AutoCloseable,org.apache.hc.core5.http.EntityDetails,org.apache.hc.core5.http.HttpEntity
- 封闭类:
- HttpClientTransport
private static class HttpClientTransport.WritableHttpEntity
extends org.apache.hc.core5.http.io.entity.AbstractHttpEntity
HttpEntity to send Content content.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 org.apache.hc.core5.http.io.entity.AbstractHttpEntity
getContentEncoding, getContentType, getTrailerNames, getTrailers, isChunked, toString, writeTo
-
字段详细资料
-
writer
-
-
构造器详细资料
-
WritableHttpEntity
WritableHttpEntity(String contentType, IOConsumer<OutputStream> writer)
-
-
方法详细资料
-
isRepeatable
public boolean isRepeatable()- 指定者:
isRepeatable在接口中org.apache.hc.core5.http.HttpEntity- 覆盖:
isRepeatable在类中org.apache.hc.core5.http.io.entity.AbstractHttpEntity
-
getContentLength
public long getContentLength() -
getContent
-
writeTo
- 指定者:
writeTo在接口中org.apache.hc.core5.http.HttpEntity- 覆盖:
writeTo在类中org.apache.hc.core5.http.io.entity.AbstractHttpEntity- 抛出:
IOException
-
isStreaming
public boolean isStreaming() -
calculateStringContentLength
private int calculateStringContentLength() -
close
- 抛出:
IOException
-