ServletOutputStream object is normally retrieved
via the ServletResponse#getOutputStream method.
This is an abstract class that the servlet container implements.
Subclasses of this class
must implement the java.io.OutputStream.write(int)
method.
ServletResponse
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static ResourceBundle |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | print(boolean
the b)boolean value
to send to the clientWrites a |
| public void | print(char
the character to send to the client c)Writes a character to the client, with no carriage return-line feed (CRLF) at the end. |
| public void | print(int
the int to send to the client i)Writes an int to the client, with no carriage return-line feed (CRLF) at the end. |
| public void | print(long
the l)long value
to send to the clientWrites a |
| public void | print(float
the f)float value
to send to the clientWrites a |
| public void | print(double
the d)double value
to send to the clientWrites a |
| public void | |
| public void | |
| public void | println(boolean
the b)boolean value
to write to the clientWrites a |
| public void | println(char
the character to write to the client c)Writes a character to the client, followed by a carriage return-line feed (CRLF). |
| public void | println(int
the int to write to the client i)Writes an int to the client, followed by a carriage return-line feed (CRLF) character. |
| public void | println(long
the l)long value to write to the clientWrites a |
| public void | println(float
the f)float value to write to the clientWrites a |
| public void | println(double
the d)double value
to write to the clientWrites a |
| LSTRING_FILE | back to summary |
|---|---|
| private static final String LSTRING_FILE | |
| lStrings | back to summary |
|---|---|
| private static ResourceBundle lStrings | |
| ServletOutputStream | back to summary |
|---|---|
| protected ServletOutputStream() Does nothing, because this is an abstract class. | |
| back to summary | |
|---|---|
| public void print(String s) throws IOException Writes a
| |
| back to summary | |
|---|---|
| public void print(boolean b) throws IOException Writes a
| |
| back to summary | |
|---|---|
| public void print(char c) throws IOException Writes a character to the client, with no carriage return-line feed (CRLF) at the end.
| |
| back to summary | |
|---|---|
| public void print(int i) throws IOException Writes an int to the client, with no carriage return-line feed (CRLF) at the end.
| |
| back to summary | |
|---|---|
| public void print(long l) throws IOException Writes a
| |
| back to summary | |
|---|---|
| public void print(float f) throws IOException Writes a
| |
| back to summary | |
|---|---|
| public void print(double d) throws IOException Writes a
| |
| println | back to summary |
|---|---|
| public void println() throws IOException Writes a carriage return-line feed (CRLF) to the client.
| |
| println | back to summary |
|---|---|
| public void println(String s) throws IOException Writes a
| |
| println | back to summary |
|---|---|
| public void println(boolean b) throws IOException Writes a
| |
| println | back to summary |
|---|---|
| public void println(char c) throws IOException Writes a character to the client, followed by a carriage return-line feed (CRLF).
| |
| println | back to summary |
|---|---|
| public void println(int i) throws IOException Writes an int to the client, followed by a carriage return-line feed (CRLF) character.
| |
| println | back to summary |
|---|---|
| public void println(long l) throws IOException Writes a
| |
| println | back to summary |
|---|---|
| public void println(float f) throws IOException Writes a
| |
| println | back to summary |
|---|---|
| public void println(double d) throws IOException Writes a
| |