All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Acme.Serve.servlet.ServletOutputStream

java.lang.Object
   |
   +----java.io.OutputStream
           |
           +----Acme.Serve.servlet.ServletOutputStream

public abstract class ServletOutputStream
extends OutputStream
Special OutputStream used by servlets.

This adds PrintStream methods. It's also an extra layer allowing implementations to add hooks for things like automatically writing headers when output starts.

This is taken from JavaSoft's Servlet API documentation.

Fetch the software.
Fetch the entire Acme package.


Constructor Index

 o ServletOutputStream()

Method Index

 o print(int)
Prints an integer.
 o print(long)
Prints a long integer.
 o print(String)
Prints an ASCII string.
 o println()
Prints a CRLF.
 o println(int)
Prints an integer followed by a CRLF.
 o println(long)
Prints a long integer followed by a CRLF.
 o println(String)
Prints an ASCII string followed by a CRLF.

Constructors

 o ServletOutputStream
 public ServletOutputStream()

Methods

 o print
 public abstract void print(String s) throws IOException
Prints an ASCII string.

Parameters:
s - the string to be printed
Throws: IOException
if an I/O error has occurred
 o print
 public abstract void print(int i) throws IOException
Prints an integer.

Parameters:
i - the integer to be printed
Throws: IOException
if an I/O error has occurred
 o print
 public abstract void print(long l) throws IOException
Prints a long integer.

Parameters:
l - the long integer to be printed
Throws: IOException
if an I/O error has occurred
 o println
 public abstract void println(String s) throws IOException
Prints an ASCII string followed by a CRLF.

Parameters:
s - the string to be printed
Throws: IOException
if an I/O error has occurred
 o println
 public abstract void println(int i) throws IOException
Prints an integer followed by a CRLF.

Parameters:
i - the integer to be printed.
Throws: IOException
if an I/O error has occurred
 o println
 public abstract void println(long l) throws IOException
Prints a long integer followed by a CRLF.

Parameters:
i - the long integer to be printed.
Throws: IOException
if an I/O error has occurred
 o println
 public abstract void println() throws IOException
Prints a CRLF.

Throws: IOException
if an I/O error has occurred

All Packages  Class Hierarchy  This Package  Previous  Next  Index

ACME Java  ACME Labs