类 HttpclientEntity
java.lang.Object
com.dtflys.forest.backend.httpclient.response.HttpclientEntity
- 所有已实现的接口:
org.apache.http.HttpEntity
-
构造器概要
构造器构造器说明HttpclientEntity(ForestRequest request, org.apache.http.HttpEntity entity, LifeCycleHandler handler) -
方法概要
修饰符和类型方法说明voidorg.apache.http.Headerlongorg.apache.http.HeaderbooleanbooleanbooleanvoidwriteTo(OutputStream outputStream)
-
构造器详细资料
-
HttpclientEntity
public HttpclientEntity(ForestRequest request, org.apache.http.HttpEntity entity, LifeCycleHandler handler)
-
-
方法详细资料
-
isRepeatable
public boolean isRepeatable()- 指定者:
isRepeatable在接口中org.apache.http.HttpEntity
-
isChunked
public boolean isChunked()- 指定者:
isChunked在接口中org.apache.http.HttpEntity
-
getContentLength
public long getContentLength()- 指定者:
getContentLength在接口中org.apache.http.HttpEntity
-
getContentType
public org.apache.http.Header getContentType()- 指定者:
getContentType在接口中org.apache.http.HttpEntity
-
getContentEncoding
public org.apache.http.Header getContentEncoding()- 指定者:
getContentEncoding在接口中org.apache.http.HttpEntity
-
getContent
- 指定者:
getContent在接口中org.apache.http.HttpEntity- 抛出:
IOExceptionUnsupportedOperationException
-
writeTo
- 指定者:
writeTo在接口中org.apache.http.HttpEntity- 抛出:
IOException
-
isStreaming
public boolean isStreaming()- 指定者:
isStreaming在接口中org.apache.http.HttpEntity
-
consumeContent
- 指定者:
consumeContent在接口中org.apache.http.HttpEntity- 抛出:
IOException
-