Code example for SessionInputBuffer

Methods: read

0
            return -1; 
        } else { 
            return this.in.read();
        } 
    } 
 
    public int read(final byte[] b, int off, int len) throws IOException {
        if (this.closed) {
            return -1; 
        } else { 
            return this.in.read(b, off, len);
        } 
    } 
 
}