|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.nio.ContentEncoderChannel
public class ContentEncoderChannel
A WritableByteChannel that delegates to a ContentEncoder.
Attempts to close this channel are ignored, and isOpen() always
returns true.
| Constructor Summary | |
|---|---|
ContentEncoderChannel(ContentEncoder contentEncoder)
|
|
| Method Summary | |
|---|---|
void |
close()
|
boolean |
isOpen()
|
int |
write(java.nio.ByteBuffer src)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentEncoderChannel(ContentEncoder contentEncoder)
| Method Detail |
|---|
public int write(java.nio.ByteBuffer src)
throws java.io.IOException
write in interface java.nio.channels.WritableByteChanneljava.io.IOExceptionpublic void close()
close in interface java.io.Closeableclose in interface java.nio.channels.Channelpublic boolean isOpen()
isOpen in interface java.nio.channels.Channel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||