Package org.apache.solr.servlet
Class ServletUtils.ClosedServletInputStream
- java.lang.Object
-
- java.io.InputStream
-
- javax.servlet.ServletInputStream
-
- org.apache.solr.servlet.ServletUtils.ClosedServletInputStream
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- ServletUtils
public static class ServletUtils.ClosedServletInputStream extends javax.servlet.ServletInputStream
-
-
Field Summary
Fields Modifier and Type Field Description static ServletUtils.ClosedServletInputStream
CLOSED_SERVLET_INPUT_STREAM
-
Constructor Summary
Constructors Constructor Description ClosedServletInputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isFinished()
boolean
isReady()
int
read()
void
setReadListener(javax.servlet.ReadListener arg0)
-
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, transferTo
-
-
-
-
Field Detail
-
CLOSED_SERVLET_INPUT_STREAM
public static final ServletUtils.ClosedServletInputStream CLOSED_SERVLET_INPUT_STREAM
-
-
Method Detail
-
read
public int read()
- Specified by:
read
in classInputStream
-
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 arg0)
- Specified by:
setReadListener
in classjavax.servlet.ServletInputStream
-
-