Package net.thevpc.nhttp.server.servlet
Class ServletOutputStreamImpl
java.lang.Object
java.io.OutputStream
javax.servlet.ServletOutputStream
net.thevpc.nhttp.server.servlet.ServletOutputStreamImpl
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
public class ServletOutputStreamImpl
extends javax.servlet.ServletOutputStream
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()final OutputStreambooleanisReady()voidsetWriteListener(javax.servlet.WriteListener writeListener) voidwrite(int b) Methods inherited from class javax.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, printlnMethods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Constructor Details
-
ServletOutputStreamImpl
-
-
Method Details
-
getTargetStream
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-
isReady
public boolean isReady()- Specified by:
isReadyin classjavax.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(javax.servlet.WriteListener writeListener) - Specified by:
setWriteListenerin classjavax.servlet.ServletOutputStream
-