Class DefaultServletOutputStream
java.lang.Object
java.io.OutputStream
jakarta.servlet.ServletOutputStream
org.openremote.container.web.file.DefaultServletOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
public class DefaultServletOutputStream
extends jakarta.servlet.ServletOutputStream
A default implementation of abstract servlet output stream.
- Since:
- 2.6
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a default servlet output stream which delegates to given output stream. -
Method Summary
Methods inherited from class jakarta.servlet.ServletOutputStream
print, print, print, print, print, print, print, println, println, println, println, println, println, println, println
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
DefaultServletOutputStream
Constructs a default servlet output stream which delegates to given output stream.- Parameters:
output
- The output stream to let this servlet output stream delegate to.
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-
isReady
public boolean isReady()- Specified by:
isReady
in classjakarta.servlet.ServletOutputStream
-
setWriteListener
public void setWriteListener(jakarta.servlet.WriteListener writeListener) - Specified by:
setWriteListener
in classjakarta.servlet.ServletOutputStream
-