Servlet::ServletOutputStream - servlet output stream interface
$stream->write($string); $stream->write($string, $length); $stream->write($string, $length, $offset);
Provides an output stream for writing binary data to a servlet response.
An output stream object is normally retrieved via getOutputStream in the Servlet::ServletResponse manpage.
NOTE: While this is an abstract class in the Java API, the Perl API provides it as an interface. The main difference is that the Perl version has no constructor. Also, it merges the methods declared in java.io.OutputStream and javax.servlet.ServletOutputStream into a single interface.
If no arguments are specified, functions exactly equivalently to
If $length is specified, writes that many bytes from $value. If $offset is specified, starts writing that many bytes from the beginning of $value. $offset and $length must not be negative, and $length must not be greater than the amount of data in $value starting from $offset.
Blocks until input data is available, the end of the stream is detected, or an exception is thrown.
the Servlet::ServletResponse manpage, the Servlet::Util::Exception manpage
Brian Moseley, email@example.com