Class DelegatingServletInputStream
java.lang.Object
java.io.InputStream
javax.servlet.ServletInputStream
com.atlassian.bamboo.plugins.rest.common.DelegatingServletInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class DelegatingServletInputStream
extends javax.servlet.ServletInputStream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
boolean
isReady()
int
read()
void
setReadListener
(javax.servlet.ReadListener readListener) Methods inherited from class javax.servlet.ServletInputStream
readLine
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
DelegatingServletInputStream
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classInputStream
- Throws:
IOException
-
isFinished
public boolean isFinished()- Specified by:
isFinished
in classjavax.servlet.ServletInputStream
-
isReady
public boolean isReady()- Specified by:
isReady
in classjavax.servlet.ServletInputStream
-
setReadListener
public void setReadListener(javax.servlet.ReadListener readListener) - Specified by:
setReadListener
in classjavax.servlet.ServletInputStream
-