|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.http.nio.util.HeapByteBufferAllocator
public class HeapByteBufferAllocator
Allocates ByteBuffer
instances using
ByteBuffer.allocate(int)
.
Constructor Summary | |
---|---|
HeapByteBufferAllocator()
|
Method Summary | |
---|---|
java.nio.ByteBuffer |
allocate(int size)
Allocates ByteBuffer of the given size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeapByteBufferAllocator()
Method Detail |
---|
public java.nio.ByteBuffer allocate(int size)
ByteBufferAllocator
ByteBuffer
of the given size.
allocate
in interface ByteBufferAllocator
size
- the size of the buffer.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |