com.atlassian.mywork.host.util
Class DelegatingServletInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by javax.servlet.ServletInputStream
          extended by com.atlassian.mywork.host.util.DelegatingServletInputStream
All Implemented Interfaces:
java.io.Closeable

public class DelegatingServletInputStream
extends javax.servlet.ServletInputStream


Constructor Summary
DelegatingServletInputStream(java.io.InputStream sourceStream)
           
 
Method Summary
 void close()
           
 int read()
           
 
Methods inherited from class javax.servlet.ServletInputStream
readLine
 
Methods inherited from class java.io.InputStream
available, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingServletInputStream

public DelegatingServletInputStream(java.io.InputStream sourceStream)
Method Detail

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.InputStream
Throws:
java.io.IOException


Copyright © 2012 Atlassian. All Rights Reserved.