org.apache.http.nio.util
Interface ContentInputBuffer

All Known Implementing Classes:
SharedInputBuffer, SimpleInputBuffer

public interface ContentInputBuffer


Method Summary
 int consumeContent(ContentDecoder decoder)
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 

Method Detail

consumeContent

public int consumeContent(ContentDecoder decoder)
                   throws java.io.IOException
Throws:
java.io.IOException

reset

public void reset()

read

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

read

public int read()
         throws java.io.IOException
Throws:
java.io.IOException


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