Closes this output stream and releases any system resources associated with this stream.
Flushes this output stream and forces any buffered output bytes to be written out.
Writes b.length bytes from the specified byte array to this output stream.
Writes len bytes from the specified byte array starting at offset off to this output stream.
Writes the specified byte to this output stream.
Static
nullReturns a new OutputStream which discards all bytes.
Provides an output stream for sending binary data to the client. A ServletOutputStream object is normally retrieved via the ServletResponse.getOutputStream() method.
See jakarta.servlet.ServletOutputStream for full documentation