com.sun.enterprise.mgmt.transport.grizzly.grizzly2
Class Grizzly2ExpandableBufferWriter

java.lang.Object
  extended by com.sun.enterprise.mgmt.transport.buffers.ExpandableBufferWriter
      extended by 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
static ExpandableBufferWriterFactory createFactory(org.glassfish.grizzly.memory.MemoryManager memoryManager)
           
protected  void ensureCapacity(int delta)
           
 Buffer getBuffer()
           
 int position()
           
 void position(int pos)
           
 Buffer toBuffer()
           
 
Methods inherited from class com.sun.enterprise.mgmt.transport.buffers.ExpandableBufferWriter
asOutputStream, put, put, put, put, putChar, putChar, putDouble, putDouble, putFloat, putFloat, putInt, putInt, putLong, putLong, putShort, putShort, reserve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFactory

public static ExpandableBufferWriterFactory createFactory(org.glassfish.grizzly.memory.MemoryManager memoryManager)

getBuffer

public Buffer getBuffer()
Specified by:
getBuffer in class ExpandableBufferWriter

toBuffer

public Buffer toBuffer()
Specified by:
toBuffer in class ExpandableBufferWriter

position

public int position()
Specified by:
position in class ExpandableBufferWriter

position

public void position(int pos)
Specified by:
position in class ExpandableBufferWriter

ensureCapacity

protected void ensureCapacity(int delta)
Specified by:
ensureCapacity in class ExpandableBufferWriter


Copyright © 2012. All Rights Reserved.