Class Grizzly2ExpandableBufferWriter
- java.lang.Object
-
- com.sun.enterprise.mgmt.transport.buffers.ExpandableBufferWriter
-
- com.sun.enterprise.mgmt.transport.grizzly.grizzly2.Grizzly2ExpandableBufferWriter
-
public final class Grizzly2ExpandableBufferWriter extends ExpandableBufferWriter
Grizzly 2.0 based expandable Buffer writer.- Author:
- Alexey Stashok
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExpandableBufferWriterFactorycreateFactory(org.glassfish.grizzly.memory.MemoryManager memoryManager)protected voidensureCapacity(int delta)BuffergetBuffer()intposition()voidposition(int pos)BuffertoBuffer()
-
-
-
Method Detail
-
createFactory
public static ExpandableBufferWriterFactory createFactory(org.glassfish.grizzly.memory.MemoryManager memoryManager)
-
getBuffer
public Buffer getBuffer()
- Specified by:
getBufferin classExpandableBufferWriter
-
toBuffer
public Buffer toBuffer()
- Specified by:
toBufferin classExpandableBufferWriter
-
position
public int position()
- Specified by:
positionin classExpandableBufferWriter
-
position
public void position(int pos)
- Specified by:
positionin classExpandableBufferWriter
-
ensureCapacity
protected void ensureCapacity(int delta)
- Specified by:
ensureCapacityin classExpandableBufferWriter
-
-