@Override public long skip(long n) throws IOException { synchronized(lock) { return in.skip(n); } }
@Override public long skip(long n) throws IOException { return in.skip(n); } @Override
public long skip(final long n) throws IOException { return delegate.skip(n); }
@Override public long skip(long n) throws IOException { return originalRequest.skip(n); }
public long skip(long n) throws IOException { return wrappedStream.skip(n); }
public long skip(long n) throws IOException { return wrappedStream.skip(n); }
@Override public long skip(long num) throws IOException { if (pos >= len) return -1; if (num > len - pos) num = len - pos; num = istream.skip(num); pos += num; if (pos >= maxLength) throw new IOException("Size (" + len + ") exceeds maxlength " + maxLength); return num; }
public long skip(long n) throws IOException { return getStream().skip(n); } @Override
@Override public int read(byte b[], int off, int num) throws IOException { if (off > 0) istream.skip(off); if (pos >= len) return -1; if (num > len - pos) num = len - pos; num = istream.read(b, 0, num); pos += num; if (pos >= maxLength) throw new IOException("Size (" + len + ") exceeds maxlength " + maxLength); return num; }