fr.paris.lutece.plugins.dila.utils.http
Class Bzip2Entity
java.lang.Object
org.apache.http.entity.HttpEntityWrapper
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
| Fields inherited from class org.apache.http.entity.HttpEntityWrapper |
wrappedEntity |
|
Constructor Summary |
Bzip2Entity(org.apache.http.HttpEntity wrappedEntity)
Constructor |
| 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 |
Bzip2Entity
public Bzip2Entity(org.apache.http.HttpEntity wrappedEntity)
- Constructor
- Parameters:
wrappedEntity - the entity
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 © 2014 Mairie de Paris. All Rights Reserved.