4647484950515253545556
this.inputStream = inputStream; } public int read() throws IOException { if (abort) { throw new AbortException(); } int result = inputStream.read(); if (result != -1) {
6061626364656667686970
return result; } public int read(byte b[]) throws IOException { if (abort) { throw new AbortException(); } int count = inputStream.read(b); if (count != -1) {
7475767778798081828384
return count; } public int read(byte b[], int off, int len) throws IOException { if (abort) { throw new AbortException(); } int count = inputStream.read(b, off, len); if (count != -1) {
8889909192939495969798
return count; } public long skip(long n) throws IOException { if (abort) { throw new AbortException(); } long count = inputStream.skip(n); bytesReceived += count; return count;
9899100101102103104105106107
return count; } public int available() throws IOException { if (abort) { throw new AbortException(); } return inputStream.available(); }
110111112113114115116117118119120
inputStream.close(); } public void mark(int readLimit) { if (abort) { throw new AbortException(); } inputStream.mark(readLimit); mark = bytesReceived; }
119120121122123124125126127128129
mark = bytesReceived; } public void reset() throws IOException { if (abort) { throw new AbortException(); } inputStream.reset(); bytesReceived = mark; }
150151152153154155156157158159
outputStream.close(); } public void flush() throws IOException { if (abort) { throw new AbortException(); } outputStream.flush(); }
158159160161162163164165166167168
outputStream.flush(); } public void write(byte[] b) throws IOException { if (abort) { throw new AbortException(); } outputStream.write(b); bytesSent += b.length; }
167168169170171172173174175176177
bytesSent += b.length; } public void write(byte[] b, int off, int len) throws IOException { if (abort) { throw new AbortException(); } outputStream.write(b, off, len); bytesSent += len; }