public class

GzipDecompressingEntity

extends HttpEntityWrapper
java.lang.Object
   ↳ org.apache.http.entity.HttpEntityWrapper
     ↳ org.apache.http.client.entity.GzipDecompressingEntity

Class Overview

HttpEntityWrapper for handling gzip Content Coded responses.

Summary

[Expand]
Inherited Fields
From class org.apache.http.entity.HttpEntityWrapper
Public Constructors
GzipDecompressingEntity(HttpEntity entity)
Creates a new GzipDecompressingEntity which will wrap the specified HttpEntity.
Public Methods
InputStream getContent()
Header getContentEncoding()
long getContentLength()
void writeTo(OutputStream outstream)
[Expand]
Inherited Methods
From class org.apache.http.entity.HttpEntityWrapper
From class java.lang.Object
From interface org.apache.http.HttpEntity

Public Constructors

public GzipDecompressingEntity (HttpEntity entity)

Also: HttpClient

Creates a new GzipDecompressingEntity which will wrap the specified HttpEntity.

Parameters
entity the non-null HttpEntity to be wrapped

Public Methods

public InputStream getContent ()

public Header getContentEncoding ()

public long getContentLength ()

public void writeTo (OutputStream outstream)

Throws
IOException