public class GzipDecompressingEntity extends DecompressingEntity
HttpEntityWrapper用于处理gzip内容编码响应。
wrappedEntity| Constructor and Description |
|---|
GzipDecompressingEntity(HttpEntity entity)
创建一个新的 GzipDecompressingEntity ,它将包装指定的HttpEntity 。
|
getContent, getContentEncoding, getContentLength, writeToconsumeContent, getContentType, isChunked, isRepeatable, isStreamingpublic GzipDecompressingEntity(HttpEntity entity)
GzipDecompressingEntity ,它将包装指定的HttpEntity 。
entity - 非空HttpEntity要包装
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.