Home » synapse-1.2-src » org.apache.synapse.transport.nhttp.util » [javadoc | source]
org.apache.synapse.transport.nhttp.util
public class: SharedInputBuffer [javadoc | source]
java.lang.Object
   org.apache.http.nio.util.ExpandableBuffer
      org.apache.synapse.transport.nhttp.util.SharedInputBuffer

All Implemented Interfaces:
    org.apache.http.nio.util.ContentInputBuffer

A copy of the SharedInputBuffer implementation of Apache HttpComponents - HttpCore/NIO found at http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-nio/ src/main/java/org/apache/http/nio/util/SharedInputBuffer.java To include the fix described here : http://svn.apache.org/viewvc/httpcomponents/httpcore/ trunk/module-nio/src/main/java/org/apache/http/nio/util/SharedInputBuffer.java ?view=diff&r1=659956&r2=659957&pathrev=659957 with the HttpCore version 4.0-beta1 TODO : This class to be removed as soon as we update the HttpCore dependency from 4.0-beta1
Constructor:
 public SharedInputBuffer(int buffersize,
    IOControl ioctrl,
    ByteBufferAllocator allocator) 
Method from org.apache.synapse.transport.nhttp.util.SharedInputBuffer Summary:
consumeContent,   isEndOfStream,   isShutdown,   read,   read,   read,   reset,   shutdown,   waitForData
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.synapse.transport.nhttp.util.SharedInputBuffer Detail:
 public int consumeContent(ContentDecoder decoder) throws IOException 
 protected boolean isEndOfStream() 
 protected boolean isShutdown() 
 public int read() throws IOException 
 public int read(byte[] b) throws IOException 
 public int read(byte[] b,
    int off,
    int len) throws IOException 
 public  void reset() 
 public  void shutdown() 
 protected  void waitForData() throws IOException