org.jets3t.service.impl.rest.httpclient
Class HttpResponseAndByteCount

java.lang.Object
  extended by org.jets3t.service.impl.rest.httpclient.HttpResponseAndByteCount

public class HttpResponseAndByteCount
extends java.lang.Object

Simple container object to store an HttpResponse object representing the result of a request connection, and a count of the byte size of the associated S3 object.

This object is used when S3 objects are created to associate the response and the actual size of the object as reported back by S3.


Constructor Summary
HttpResponseAndByteCount(org.apache.http.HttpResponse httpResponse, long byteCount)
           
 
Method Summary
 long getByteCount()
           
 org.apache.http.HttpResponse getHttpResponse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResponseAndByteCount

public HttpResponseAndByteCount(org.apache.http.HttpResponse httpResponse,
                                long byteCount)
Method Detail

getHttpResponse

public org.apache.http.HttpResponse getHttpResponse()

getByteCount

public long getByteCount()