public class GzipCompressingEntity extends HttpEntityWrapper
writing压缩内容。
wrappedEntity| Constructor and Description |
|---|
GzipCompressingEntity(HttpEntity entity) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent() |
Header |
getContentEncoding() |
long |
getContentLength() |
boolean |
isChunked() |
void |
writeTo(OutputStream outstream) |
consumeContent, getContentType, isRepeatable, isStreamingpublic GzipCompressingEntity(HttpEntity entity)
public Header getContentEncoding()
getContentEncoding在界面
HttpEntity
getContentEncoding在
HttpEntityWrapper
public long getContentLength()
getContentLength在界面
HttpEntity
getContentLength在类
HttpEntityWrapper
public boolean isChunked()
isChunked在界面
HttpEntity
isChunked在类
HttpEntityWrapper
public InputStream getContent() throws IOException
getContent在界面
HttpEntity
getContent在
HttpEntityWrapper
IOException
public void writeTo(OutputStream outstream) throws IOException
writeTo在界面
HttpEntity
writeTo在类
HttpEntityWrapper
IOException
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.