Package org.apache.solr.servlet
Class ServletUtils.ClosedServletOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- javax.servlet.ServletOutputStream
-
- org.apache.solr.servlet.ServletUtils.ClosedServletOutputStream
-
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
- ServletUtils
public static class ServletUtils.ClosedServletOutputStream extends javax.servlet.ServletOutputStream
-
-
Field Summary
Fields Modifier and Type Field Description static ServletUtils.ClosedServletOutputStream
CLOSED_SERVLET_OUTPUT_STREAM
-
Constructor Summary
Constructors Constructor Description ClosedServletOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush()
boolean
isReady()
void
setWriteListener(javax.servlet.WriteListener arg0)
void
write(int b)
-
Methods inherited from class javax.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
-
Methods inherited from class java.io.OutputStream
close, nullOutputStream, write, write
-
-
-
-
Field Detail
-
CLOSED_SERVLET_OUTPUT_STREAM
public static final ServletUtils.ClosedServletOutputStream CLOSED_SERVLET_OUTPUT_STREAM
-
-
Method Detail
-
write
public void write(int b) throws IOException
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
flush
public void flush() throws IOException
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
isReady
public boolean isReady()
- Specified by:
isReady
in classjavax.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(javax.servlet.WriteListener arg0)
- Specified by:
setWriteListener
in classjavax.servlet.ServletOutputStream
-
-