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

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

reset

void reset()

flush

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

write

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

write

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

writeCompleted

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


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