org.apache.http.nio.util
Interface ContentOutputBuffer

All Known Implementing Classes:
SharedOutputBuffer, SimpleOutputBuffer

public interface ContentOutputBuffer


Method Summary
 void flush()
           
 int produceContent(ContentEncoder encoder)
           
 void reset()
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 void writeCompleted()
           
 

Method Detail

produceContent

public int produceContent(ContentEncoder encoder)
                   throws java.io.IOException
Throws:
java.io.IOException

reset

public void reset()

flush

public void flush()
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(int b)
           throws java.io.IOException
Throws:
java.io.IOException

writeCompleted

public void writeCompleted()
                    throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2005-2007 Apache Software Foundation. All Rights Reserved.