|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.io.OutputStream | +--javax.servlet.ServletOutputStream
An output stream for writing servlet responses. This is an abstract class, to be implemented by a network services implementor. Servlet writers use the output stream to return data to clients. They access it via the ServletResponse's getOutputStream method, available from within the servlet's service method. Subclasses of ServletOutputStream must provide an implementation of the write(int) method.
OutputStream.write(int)
Constructor Summary | |
protected |
ServletOutputStream()
The default constructor does no work. |
Method Summary | |
void |
print(boolean b)
Prints the boolean provided. |
void |
print(char c)
Prints the character provided. |
void |
print(double d)
Prints the double provided. |
void |
print(float f)
Prints the float provided. |
void |
print(int i)
Prints the integer provided. |
void |
print(long l)
Prints the long provided. |
void |
print(java.lang.String s)
Prints the string provided. |
void |
println()
Prints a CRLF. |
void |
println(boolean b)
Prints the boolean provided, followed by a CRLF. |
void |
println(char c)
Prints the character provided, followed by a CRLF. |
void |
println(double d)
Prints the double provided, followed by a CRLF. |
void |
println(float f)
Prints the float provided, followed by a CRLF. |
void |
println(int i)
Prints the integer provided, followed by a CRLF. |
void |
println(long l)
Prints the long provided, followed by a CRLF. |
void |
println(java.lang.String s)
Prints the string provided, followed by a CRLF. |
Methods inherited from class java.io.OutputStream |
close,
flush,
write,
write,
write |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
protected ServletOutputStream()
Method Detail |
public void print(java.lang.String s) throws java.io.IOException
public void print(boolean b) throws java.io.IOException
public void print(char c) throws java.io.IOException
public void print(int i) throws java.io.IOException
public void print(long l) throws java.io.IOException
public void print(float f) throws java.io.IOException
public void print(double d) throws java.io.IOException
public void println() throws java.io.IOException
public void println(java.lang.String s) throws java.io.IOException
public void println(boolean b) throws java.io.IOException
public void println(char c) throws java.io.IOException
public void println(int i) throws java.io.IOException
public void println(long l) throws java.io.IOException
public void println(float f) throws java.io.IOException
public void println(double d) throws java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |