All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.servlet.ServletOutputStream

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

public class ServletOutputStream
extends OutputStream
An output stream for writing servlet responses.


Constructor Index

 o ServletOutputStream()

Method Index

 o print(boolean)
Prints a boolean.
 o print(char)
 o print(double)
Prints a double.
 o print(float)
Prints a float.
 o print(int)
Prints an integer.
 o print(long)
Prints a long.
 o print(String)
Prints a string.
 o println()
Prints a CRLF.
 o println(boolean)
Prints a boolean followed by a CRLF.
 o println(char)
 o println(double)
Prints a double followed by a CRLF.
 o println(float)
Prints a float followed by a CRLF.
 o println(int)
Prints an integer followed by a CRLF.
 o println(long)
Prints a long followed by a CRLF.
 o println(String)
Prints a string followed by a CRLF.

Constructors

 o ServletOutputStream
  public ServletOutputStream()

Methods

 o print
  public void print(String s) throws IOException
Prints a string.

Throws: IOException
if an I/O error has occurred
 o print
  public void print(boolean b) throws IOException
Prints a boolean.

Throws: IOException
if an I/O error has occurred.
 o print
  public void print(char c) throws IOException
 o print
  public void print(int i) throws IOException
Prints an integer.

Throws: IOException
if an I/O error has occurred
 o print
  public void print(long l) throws IOException
Prints a long.

Throws: IOException
if an I/O error has occurred
 o print
  public void print(float f) throws IOException
Prints a float.

Throws: IOException
if an I/O error has occurred
 o print
  public void print(double d) throws IOException
Prints a double.

Throws: IOException
if an I/O error has occurred
 o println
  public void println() throws IOException
Prints a CRLF.

Throws: IOException
if an I/O error has occurred
 o println
  public void println(String s) throws IOException
Prints a string followed by a CRLF.

Throws: IOException
if an I/O error has occurred
 o println
  public void println(boolean b) throws IOException
Prints a boolean followed by a CRLF.

Throws: IOException
if an I/O error has occurred.
 o println
  public void println(char c) throws IOException
 o println
  public void println(int i) throws IOException
Prints an integer followed by a CRLF.

Throws: IOException
if an I/O error has occurred
 o println
  public void println(long l) throws IOException
Prints a long followed by a CRLF.

Throws: IOException
if an I/O error has occurred
 o println
  public void println(float f) throws IOException
Prints a float followed by a CRLF.

Throws: IOException
if an I/O error has occurred
 o println
  public void println(double d) throws IOException
Prints a double followed by a CRLF.

Throws: IOException
if an I/O error has occurred

All Packages  Class Hierarchy  This Package  Previous  Next  Index