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 voidnotifyCompleted(CompletionHandler<Integer> completionHandler)protected voidnotifyFailure(CompletionHandler<Integer> completionHandler, Throwable failure)protected voidonCloseInputSource()protected voidonOpenInputSource()-
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:
onOpenInputSourcein classBufferedInput- Throws:
IOException
-
onCloseInputSource
protected void onCloseInputSource() throws IOException- Specified by:
onCloseInputSourcein classBufferedInput- Throws:
IOException
-
notifyCompleted
protected void notifyCompleted(CompletionHandler<Integer> completionHandler)
- Overrides:
notifyCompletedin classBufferedInput
-
notifyFailure
protected void notifyFailure(CompletionHandler<Integer> completionHandler, Throwable failure)
- Overrides:
notifyFailurein classBufferedInput
-
-