org.apache.http.impl.nio.reactor
Class SessionOutputBufferImpl
java.lang.Object
org.apache.http.nio.util.ExpandableBuffer
org.apache.http.impl.nio.reactor.SessionOutputBufferImpl
- All Implemented Interfaces:
- SessionOutputBuffer, BufferInfo
public class SessionOutputBufferImpl
- extends ExpandableBuffer
- implements SessionOutputBuffer
Method Summary |
int |
flush(java.nio.channels.WritableByteChannel channel)
|
void |
reset(org.apache.http.params.HttpParams params)
|
void |
write(java.nio.ByteBuffer src)
|
void |
write(java.nio.channels.ReadableByteChannel src)
|
void |
writeLine(org.apache.http.util.CharArrayBuffer linebuffer)
|
void |
writeLine(java.lang.String s)
|
Methods inherited from class org.apache.http.nio.util.ExpandableBuffer |
available, capacity, clear, ensureCapacity, expand, getMode, hasData, length, setInputMode, setOutputMode, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SessionOutputBufferImpl
public SessionOutputBufferImpl(int buffersize,
int linebuffersize,
ByteBufferAllocator allocator,
org.apache.http.params.HttpParams params)
SessionOutputBufferImpl
public SessionOutputBufferImpl(int buffersize,
int linebuffersize,
org.apache.http.params.HttpParams params)
reset
public void reset(org.apache.http.params.HttpParams params)
flush
public int flush(java.nio.channels.WritableByteChannel channel)
throws java.io.IOException
- Specified by:
flush
in interface SessionOutputBuffer
- Throws:
java.io.IOException
write
public void write(java.nio.ByteBuffer src)
- Specified by:
write
in interface SessionOutputBuffer
write
public void write(java.nio.channels.ReadableByteChannel src)
throws java.io.IOException
- Specified by:
write
in interface SessionOutputBuffer
- Throws:
java.io.IOException
writeLine
public void writeLine(org.apache.http.util.CharArrayBuffer linebuffer)
throws java.nio.charset.CharacterCodingException
- Specified by:
writeLine
in interface SessionOutputBuffer
- Throws:
java.nio.charset.CharacterCodingException
writeLine
public void writeLine(java.lang.String s)
throws java.io.IOException
- Specified by:
writeLine
in interface SessionOutputBuffer
- Throws:
java.io.IOException
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.