Top Description Fields Constructors Methods
org.glassfish.grizzly.ssl

pack-priv final Class InputBufferWrapper

extends ByteBufferWrapper
Class Inheritance
Imports
org.glassfish.grizzly.memory.ByteBufferWrapper, org.glassfish.grizzly.nio.DirectByteBufferRecord

Input org.glassfish.grizzly.Buffer to read SSL packets to. This org.glassfish.grizzly.Buffer has to be used by a Transport to read data.
Author
Alexey Stashok

Field Summary

Modifier and TypeField and Description
private DirectByteBufferRecord
Inherited from org.glassfish.grizzly.memory.ByteBufferWrapper:
allowBufferDisposeDEBUG_MODEdisposeStackTracemarkvisible

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
dispose()

Overrides org.glassfish.grizzly.memory.ByteBufferWrapper.dispose.

Implements org.glassfish.grizzly.Buffer.dispose.

Notify the allocator that the space for this Buffer is no longer needed.

public InputBufferWrapper
prepare(final int size)

Inherited from org.glassfish.grizzly.memory.ByteBufferWrapper:
allowBufferDisposeallowBufferDisposearrayarrayOffsetasReadOnlyBuffercapacitycheckDisposeclearcompactcompareTodumpHexduplicateequalsflipgetgetgetgetgetgetgetChargetChargetDoublegetDoublegetFloatgetFloatgetIntgetIntgetLonggetLonggetShortgetShorthasArrayhashCodehasRemainingisCompositeisDirectisExternalisReadOnlylimitlimitmarkorderorderpositionpositionprepareDisposeprependputputputputputputputputput8BitStringputCharputCharputDoubleputDoubleputFloatputFloatputIntputIntputLongputLongputShortputShortreleaseremainingresetrewindshrinksliceslicesplittoBufferArraytoBufferArraytoBufferArraytoBufferArraytoByteBuffertoByteBuffertoByteBufferArraytoByteBufferArraytoByteBufferArraytoByteBufferArraytoStringtoStringContenttoStringContenttoStringContenttrimtryDisposeunderlyingwrapByteBuffer

Field Detail

recordback to summary
private DirectByteBufferRecord record

Constructor Detail

InputBufferWrapperback to summary
public InputBufferWrapper()

Method Detail

disposeback to summary
public void dispose()

Overrides org.glassfish.grizzly.memory.ByteBufferWrapper.dispose.

Implements org.glassfish.grizzly.Buffer.dispose.

Doc from org.glassfish.grizzly.Buffer.dispose.

Notify the allocator that the space for this Buffer is no longer needed. All calls to methods on a Buffer will fail after a call to dispose().

Annotations
@Override
prepareback to summary
public InputBufferWrapper prepare(final int size)