|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.impl.nio.codecs.AbstractContentEncoder
public abstract class AbstractContentEncoder
Field Summary | |
---|---|
protected boolean |
completed
|
Constructor Summary | |
---|---|
AbstractContentEncoder()
|
Method Summary | |
---|---|
protected void |
assertNotCompleted()
|
void |
complete()
Terminates the content stream. |
boolean |
isCompleted()
Returns true if the entity has been transferred in its entirety. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.http.nio.ContentEncoder |
---|
write |
Field Detail |
---|
protected boolean completed
Constructor Detail |
---|
public AbstractContentEncoder()
Method Detail |
---|
public boolean isCompleted()
ContentEncoder
isCompleted
in interface ContentEncoder
public void complete() throws java.io.IOException
ContentEncoder
complete
in interface ContentEncoder
java.io.IOException
- if I/O error occurs while writing contentprotected void assertNotCompleted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |