org.openrdf.http.object.client
Class TrackedHttpEntity

java.lang.Object
  extended by org.openrdf.http.object.filters.HttpEntityWrapper
      extended by org.openrdf.http.object.client.TrackedHttpEntity
All Implemented Interfaces:
org.apache.http.HttpEntity, org.apache.http.nio.entity.ProducingNHttpEntity

public class TrackedHttpEntity
extends HttpEntityWrapper

Ensures this entity's stream is closed after garbage collection.

Author:
James Leigh

Constructor Summary
TrackedHttpEntity(org.apache.http.HttpEntity entity, Throwable source)
           
 
Method Summary
protected  void finalize()
           
 
Methods inherited from class org.openrdf.http.object.filters.HttpEntityWrapper
consumeContent, finish, getContent, getContentEncoding, getContentLength, getContentType, getDelegateContent, getEntityDelegate, isChunked, isRepeatable, isStreaming, produceContent, toString, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrackedHttpEntity

public TrackedHttpEntity(org.apache.http.HttpEntity entity,
                         Throwable source)
Method Detail

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.