fr.paris.lutece.plugins.dila.utils.http
Class Bzip2Entity

java.lang.Object
  extended by org.apache.http.entity.HttpEntityWrapper
      extended by fr.paris.lutece.plugins.dila.utils.http.Bzip2Entity
All Implemented Interfaces:
org.apache.http.HttpEntity

public class Bzip2Entity
extends org.apache.http.entity.HttpEntityWrapper

HttpEntityWrapper to rewrite content encoding and content length to accept bzip2


Field Summary
 
Fields inherited from class org.apache.http.entity.HttpEntityWrapper
wrappedEntity
 
Constructor Summary
Bzip2Entity(org.apache.http.HttpEntity wrappedEntity)
          Constructor
 
Method Summary
 org.apache.http.Header getContentEncoding()
           
 long getContentLength()
           
 
Methods inherited from class org.apache.http.entity.HttpEntityWrapper
consumeContent, getContent, getContentType, isChunked, isRepeatable, isStreaming, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bzip2Entity

public Bzip2Entity(org.apache.http.HttpEntity wrappedEntity)
Constructor

Parameters:
wrappedEntity - the entity
Method Detail

getContentEncoding

public org.apache.http.Header getContentEncoding()
Specified by:
getContentEncoding in interface org.apache.http.HttpEntity
Overrides:
getContentEncoding in class org.apache.http.entity.HttpEntityWrapper

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface org.apache.http.HttpEntity
Overrides:
getContentLength in class org.apache.http.entity.HttpEntityWrapper


Copyright © 2013 Mairie de Paris. All Rights Reserved.