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.ClosedServletOutputStreamCLOSED_SERVLET_OUTPUT_STREAM
-
Constructor Summary
Constructors Constructor Description ClosedServletOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()booleanisReady()voidsetWriteListener(javax.servlet.WriteListener arg0)voidwrite(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:
writein classOutputStream- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
isReady
public boolean isReady()
- Specified by:
isReadyin classjavax.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(javax.servlet.WriteListener arg0)
- Specified by:
setWriteListenerin classjavax.servlet.ServletOutputStream
-
-