com.uncarved.helpers.http

class GZIPDecompressingEntity

[source: com/uncarved/helpers/http/GZIPDecompressingEntity.scala]

class GZIPDecompressingEntity(entity : org.apache.http.HttpEntity)
extends org.apache.http.entity.HttpEntityWrapper with AnyRef
Simple wrapper entity type that takes a gzipped entity and unzips it. Translated to scala from the Apache HttpClient 4 example code.
Method Summary
override def getContent : java.util.zip.GZIPInputStream
override def getContentLength : Long
Methods inherited from org.apache.http.entity.HttpEntityWrapper
org.apache.http.entity.HttpEntityWrapper.isRepeatable, org.apache.http.entity.HttpEntityWrapper.isChunked, org.apache.http.entity.HttpEntityWrapper.getContentType, org.apache.http.entity.HttpEntityWrapper.getContentEncoding, org.apache.http.entity.HttpEntityWrapper.writeTo, org.apache.http.entity.HttpEntityWrapper.isStreaming, org.apache.http.entity.HttpEntityWrapper.consumeContent
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
override def getContent : java.util.zip.GZIPInputStream
Overrides
org.apache.http.entity.HttpEntityWrapper.org.apache.http.entity.HttpEntityWrapper.getContent

override def getContentLength : Long
Overrides
org.apache.http.entity.HttpEntityWrapper.org.apache.http.entity.HttpEntityWrapper.getContentLength