org.glassfish.grizzly.streams
Interface Input
- All Known Implementing Classes:
- BufferedInput, DefaultStreamReader.Input, StreamInput, TransformerInput
public interface Input
- Author:
- Alexey Stashok
notifyCondition
GrizzlyFuture<java.lang.Integer> notifyCondition(Condition condition,
CompletionHandler<java.lang.Integer> completionHandler)
read
byte read()
throws java.io.IOException
- Throws:
java.io.IOException
skip
void skip(int length)
isBuffered
boolean isBuffered()
getBuffer
Buffer getBuffer()
- Return the Input's
Buffer.
- Returns:
- the Input's
Buffer.
takeBuffer
Buffer takeBuffer()
- Takes the Input's
Buffer. This Input should
never try to access this Buffer.
- Returns:
- the Input's
Buffer. This Input should
never try to access this Buffer.
size
int size()
close
void close()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2011 Oracle Corpration. All Rights Reserved.