@Override public SSLContext getSslContext() { return sslContext.get(); }
@Override public SSLContext getSslContext() { return sslContext.get(); }
@Override public SSLContext getSslContext() { return sslContext.get(); }
@Override public void close() throws IOException { try { in.get().close(); } finally { closed = true; } }
@Override public void close() throws IOException { try { in.get().close(); } finally { closed = true; } }
@Override public boolean markSupported() { try { return in.get().markSupported(); } catch (IOException e) { throw new IllegalStateException("Unable to retrieve the underlying input stream.", e); } } };
@Override public void mark(int readLimit) { try { in.get().mark(readLimit); } catch (IOException e) { throw new IllegalStateException("Unable to retrieve the underlying input stream.", e); } }
@Override public boolean markSupported() { try { return in.get().markSupported(); } catch (IOException e) { throw new IllegalStateException("Unable to retrieve the underlying input stream.", e); } } };
@Override public void mark(int readLimit) { try { in.get().mark(readLimit); } catch (IOException e) { throw new IllegalStateException("Unable to retrieve the underlying input stream.", e); } }
@Override public void close() throws IOException { try { in.get().close(); } finally { closed = true; } }
@Override public boolean markSupported() { try { return in.get().markSupported(); } catch (IOException e) { throw new IllegalStateException("Unable to retrieve the underlying input stream.", e); } } };
@Override public void mark(int readLimit) { try { in.get().mark(readLimit); } catch (IOException e) { throw new IllegalStateException("Unable to retrieve the underlying input stream.", e); } }
@Override public int read() throws IOException { int result = in.get().read(); throwIOExceptionIfClosed(); return result; }
@Override public void reset() throws IOException { in.get().reset(); throwIOExceptionIfClosed(); }
@Override public int read(byte[] b, int off, int len) throws IOException { int result = in.get().read(b, off, len); throwIOExceptionIfClosed(); return result; }
@Override public int available() throws IOException { int result = in.get().available(); throwIOExceptionIfClosed(); return result; }
@Override public void reset() throws IOException { in.get().reset(); throwIOExceptionIfClosed(); }
@Override public int read(byte[] b) throws IOException { int result = in.get().read(b); throwIOExceptionIfClosed(); return result; }
@Override public int read(byte[] b) throws IOException { int result = in.get().read(b); throwIOExceptionIfClosed(); return result; }
@Override public int read(byte[] b, int off, int len) throws IOException { int result = in.get().read(b, off, len); throwIOExceptionIfClosed(); return result; }