org.jets3t.service.impl.rest.httpclient
Class RestS3Service.HttpMethodAndByteCount

java.lang.Object
  extended by org.jets3t.service.impl.rest.httpclient.RestS3Service.HttpMethodAndByteCount
Enclosing class:
RestS3Service

public class RestS3Service.HttpMethodAndByteCount
extends Object

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

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

Author:
James Murty

Constructor Summary
RestS3Service.HttpMethodAndByteCount(org.apache.commons.httpclient.HttpMethodBase httpMethod, long byteCount)
           
 
Method Summary
 long getByteCount()
           
 org.apache.commons.httpclient.HttpMethodBase getHttpMethod()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestS3Service.HttpMethodAndByteCount

public RestS3Service.HttpMethodAndByteCount(org.apache.commons.httpclient.HttpMethodBase httpMethod,
                                            long byteCount)
Method Detail

getHttpMethod

public org.apache.commons.httpclient.HttpMethodBase getHttpMethod()

getByteCount

public long getByteCount()