public class FileUploadCounter
extends java.lang.Object
implements org.apache.commons.httpclient.methods.RequestEntity
修飾子とタイプ | クラスと説明 |
---|---|
static class |
FileUploadCounter.OutputStreamCounter |
static interface |
FileUploadCounter.ProgressListener |
コンストラクタと説明 |
---|
FileUploadCounter(org.apache.commons.httpclient.methods.RequestEntity entity,
FileUploadCounter.ProgressListener listener)
Initialize class
|
修飾子とタイプ | メソッドと説明 |
---|---|
long |
getContentLength() |
java.lang.String |
getContentType() |
boolean |
isRepeatable() |
void |
writeRequest(java.io.OutputStream out) |
public FileUploadCounter(org.apache.commons.httpclient.methods.RequestEntity entity, FileUploadCounter.ProgressListener listener)
entity
- - request entitylistener
- - progress listenerpublic void writeRequest(java.io.OutputStream out) throws java.io.IOException
writeRequest
インタフェース内 org.apache.commons.httpclient.methods.RequestEntity
java.io.IOException
public long getContentLength()
getContentLength
インタフェース内 org.apache.commons.httpclient.methods.RequestEntity
public java.lang.String getContentType()
getContentType
インタフェース内 org.apache.commons.httpclient.methods.RequestEntity
public boolean isRepeatable()
isRepeatable
インタフェース内 org.apache.commons.httpclient.methods.RequestEntity