java.lang.Object
org.glassfish.grizzly.streams.BufferedInput
org.glassfish.grizzly.streams.TransformerInput
- All Implemented Interfaces:
Input
- Author:
- Alexey Stashok
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal class
final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AttributeStorage
protected final MemoryManager
protected final Transformer<Buffer,
Buffer> protected final Input
Fields inherited from class org.glassfish.grizzly.streams.BufferedInput
completionHandler, compositeBuffer, condition, future, isCompletionHandlerRegistered, lock, registrationStackTrace
-
Constructor Summary
ConstructorsConstructorDescriptionTransformerInput
(Transformer<Buffer, Buffer> transformer, Input underlyingInput, Connection connection) TransformerInput
(Transformer<Buffer, Buffer> transformer, Input underlyingInput, MemoryManager memoryManager, AttributeStorage attributeStorage) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
Methods inherited from class org.glassfish.grizzly.streams.BufferedInput
append, close, getBuffer, isBuffered, notifyCompleted, notifyCondition, notifyFailure, prepend, read, size, skip, takeBuffer
-
Field Details
-
transformer
-
underlyingInput
-
memoryManager
-
attributeStorage
-
-
Constructor Details
-
TransformerInput
public TransformerInput(Transformer<Buffer, Buffer> transformer, Input underlyingInput, Connection connection) -
TransformerInput
public TransformerInput(Transformer<Buffer, Buffer> transformer, Input underlyingInput, MemoryManager memoryManager, AttributeStorage attributeStorage)
-
-
Method Details
-
onOpenInputSource
- Specified by:
onOpenInputSource
in classBufferedInput
- Throws:
IOException
-
onCloseInputSource
- Specified by:
onCloseInputSource
in classBufferedInput
- Throws:
IOException
-