public class CountingRequestEntity extends Object implements org.apache.commons.httpclient.methods.RequestEntity
Modifier and Type | Class and Description |
---|---|
static class |
CountingRequestEntity.CountingOutputStream |
static interface |
CountingRequestEntity.ProgressListener |
Constructor and Description |
---|
CountingRequestEntity(org.apache.commons.httpclient.methods.RequestEntity entity,
CountingRequestEntity.ProgressListener listener) |
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
String |
getContentType() |
boolean |
isRepeatable() |
void |
writeRequest(OutputStream out) |
public CountingRequestEntity(org.apache.commons.httpclient.methods.RequestEntity entity, CountingRequestEntity.ProgressListener listener)
public long getContentLength()
getContentLength
in interface org.apache.commons.httpclient.methods.RequestEntity
public String getContentType()
getContentType
in interface org.apache.commons.httpclient.methods.RequestEntity
public boolean isRepeatable()
isRepeatable
in interface org.apache.commons.httpclient.methods.RequestEntity
public void writeRequest(OutputStream out) throws IOException
writeRequest
in interface org.apache.commons.httpclient.methods.RequestEntity
IOException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.