org.apache.http.nio.util
Class HeapByteBufferAllocator

java.lang.Object
  extended by org.apache.http.nio.util.HeapByteBufferAllocator
All Implemented Interfaces:
ByteBufferAllocator

public class HeapByteBufferAllocator
extends java.lang.Object
implements ByteBufferAllocator


Constructor Summary
HeapByteBufferAllocator()
           
 
Method Summary
 java.nio.ByteBuffer allocate(int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeapByteBufferAllocator

public HeapByteBufferAllocator()
Method Detail

allocate

public java.nio.ByteBuffer allocate(int size)
Specified by:
allocate in interface ByteBufferAllocator


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