Class java.servlet.ServletOutputStream
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.
-
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