|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.nio.util.DirectByteBufferAllocator
public class DirectByteBufferAllocator
Allocates ByteBuffer instances using
ByteBuffer.allocateDirect(int).
| Constructor Summary | |
|---|---|
DirectByteBufferAllocator()
|
|
| 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 DirectByteBufferAllocator()
| Method Detail |
|---|
public java.nio.ByteBuffer allocate(int size)
ByteBufferAllocatorByteBuffer of the given size.
allocate in interface ByteBufferAllocatorsize - the size of the buffer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||