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.
-
ServletOutputStream()
-
-
print(int)
- Prints an integer.
-
print(long)
- Prints a long integer.
-
print(String)
- Prints an ASCII string.
-
println()
- Prints a CRLF.
-
println(int)
- Prints an integer followed by a CRLF.
-
println(long)
- Prints a long integer followed by a CRLF.
-
println(String)
- Prints an ASCII string followed by a CRLF.
ServletOutputStream
public ServletOutputStream()
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
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
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
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
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
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
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