Class DefaultStreamReader.Input
- java.lang.Object
-
- org.glassfish.grizzly.streams.BufferedInput
-
- org.glassfish.grizzly.nio.transport.DefaultStreamReader.Input
-
- All Implemented Interfaces:
Input
- Enclosing class:
- DefaultStreamReader
public static final class DefaultStreamReader.Input extends BufferedInput
-
-
Field Summary
-
Fields inherited from class org.glassfish.grizzly.streams.BufferedInput
completionHandler, compositeBuffer, condition, future, isCompletionHandlerRegistered, lock, registrationStackTrace
-
-
Constructor Summary
Constructors Constructor Description Input()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
notifyCompleted(CompletionHandler<Integer> completionHandler)
protected void
notifyFailure(CompletionHandler<Integer> completionHandler, Throwable failure)
protected void
onCloseInputSource()
protected void
onOpenInputSource()
-
Methods inherited from class org.glassfish.grizzly.streams.BufferedInput
append, close, getBuffer, isBuffered, notifyCondition, prepend, read, size, skip, takeBuffer
-
-
-
-
Method Detail
-
onOpenInputSource
protected void onOpenInputSource() throws IOException
- Specified by:
onOpenInputSource
in classBufferedInput
- Throws:
IOException
-
onCloseInputSource
protected void onCloseInputSource() throws IOException
- Specified by:
onCloseInputSource
in classBufferedInput
- Throws:
IOException
-
notifyCompleted
protected void notifyCompleted(CompletionHandler<Integer> completionHandler)
- Overrides:
notifyCompleted
in classBufferedInput
-
notifyFailure
protected void notifyFailure(CompletionHandler<Integer> completionHandler, Throwable failure)
- Overrides:
notifyFailure
in classBufferedInput
-
-