Package org.glassfish.grizzly.streams
Interface Input
-
- All Known Implementing Classes:
BufferedInput,DefaultStreamReader.Input,StreamInput,TransformerInput
public interface Input- Author:
- Alexey Stashok
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()BuffergetBuffer()Return the Input'sBuffer.booleanisBuffered()GrizzlyFuture<Integer>notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)byteread()intsize()voidskip(int length)BuffertakeBuffer()Takes the Input'sBuffer.
-
-
-
Method Detail
-
notifyCondition
GrizzlyFuture<Integer> notifyCondition(Condition condition, CompletionHandler<Integer> completionHandler)
-
read
byte read() throws IOException
- Throws:
IOException
-
skip
void skip(int length)
-
isBuffered
boolean isBuffered()
-
takeBuffer
Buffer takeBuffer()
-
size
int size()
-
close
void close() throws IOException- Throws:
IOException
-
-