Package io.undertow.util
Class ImmediatePooledByteBuffer
- java.lang.Object
-
- io.undertow.util.ImmediatePooledByteBuffer
-
- All Implemented Interfaces:
PooledByteBuffer
,java.io.Closeable
,java.lang.AutoCloseable
public class ImmediatePooledByteBuffer extends java.lang.Object implements PooledByteBuffer
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description ImmediatePooledByteBuffer(java.nio.ByteBuffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.nio.ByteBuffer
getBuffer()
boolean
isOpen()
-
-
-
Method Detail
-
getBuffer
public java.nio.ByteBuffer getBuffer()
- Specified by:
getBuffer
in interfacePooledByteBuffer
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfacePooledByteBuffer
-
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interfacePooledByteBuffer
-
-