|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.entity.HttpEntityWrapper
com.dropbox.client2.ProgressListener.ProgressHttpEntity
public static class ProgressListener.ProgressHttpEntity
A wrapper for an HttpEntity
that can count the number of bytes
transferred. This is used internally to give updates for uploads.
Field Summary |
---|
Fields inherited from class org.apache.http.entity.HttpEntityWrapper |
---|
wrappedEntity |
Constructor Summary | |
---|---|
ProgressListener.ProgressHttpEntity(org.apache.http.HttpEntity wrapped,
ProgressListener listener)
|
Method Summary | |
---|---|
void |
writeTo(java.io.OutputStream out)
|
Methods inherited from class org.apache.http.entity.HttpEntityWrapper |
---|
consumeContent, getContent, getContentEncoding, getContentLength, getContentType, isChunked, isRepeatable, isStreaming |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProgressListener.ProgressHttpEntity(org.apache.http.HttpEntity wrapped, ProgressListener listener)
Method Detail |
---|
public void writeTo(java.io.OutputStream out) throws java.io.IOException
writeTo
in interface org.apache.http.HttpEntity
writeTo
in class org.apache.http.entity.HttpEntityWrapper
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |