BBxServletResponse::getOutputStream
Description
In BBj 21.00 and higher, this method returns a ServletOutputStream suitable for writing binary data in the response.
The servlet container does not encode the binary data.
Calling flush() on the ServletOutputStream commits the response. Either this method or getWriter() may be called to write the body, not both.
Syntax
Return Value | Method |
---|---|
ServletOutputStream | getOutputStream() |
Parameters
None.
Return Value
Returns a ServletOutputStream for writing binary data.
Remarks
This method is inherited from the Java HttpServletResponse object.
Example
Version History
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.