org.jets3t.service.impl.rest.httpclient
Class HttpMethodAndByteCount
java.lang.Object
org.jets3t.service.impl.rest.httpclient.HttpMethodAndByteCount
public class HttpMethodAndByteCount
- extends java.lang.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.
Constructor Summary |
HttpMethodAndByteCount(org.apache.commons.httpclient.HttpMethodBase httpMethod,
long byteCount)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpMethodAndByteCount
public HttpMethodAndByteCount(org.apache.commons.httpclient.HttpMethodBase httpMethod,
long byteCount)
getHttpMethod
public org.apache.commons.httpclient.HttpMethodBase getHttpMethod()
getByteCount
public long getByteCount()