| Modifier and Type | Field and Description |
|---|---|
| private final ServletOutputStream |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. |
| public void | flush()
Overrides java. Implements java. |
| public boolean | isReady()
Implements abstract jakarta. |
| public static OutputStream | nullOutputStream()
Hides java. OutputStream which discards all bytes.
|
| public void | print(String
the s)String to send to the clientOverrides jakarta. String to the client, without a carriage return-line feed (CRLF) character at the end.
|
| public void | print(boolean
the b)boolean value to send to the clientOverrides jakarta. boolean value to the client, with no carriage return-line feed (CRLF) character at the end.
|
| public void | print(char
the character to send to the client c)Overrides jakarta. |
| public void | print(int
the int to send to the client i)Overrides jakarta. |
| public void | print(long
the l)long value to send to the clientOverrides jakarta. long value to the client, with no carriage return-line feed (CRLF) at the end.
|
| public void | print(float
the f)float value to send to the clientOverrides jakarta. float value to the client, with no carriage return-line feed (CRLF) at the end.
|
| public void | print(double
the d)double value to send to the clientOverrides jakarta. double value to the client, with no carriage return-line feed (CRLF) at the end.
|
| public void | println()
Overrides jakarta. |
| public void | println(String
the s)String to write to the clientOverrides jakarta. String to the client, followed by a carriage return-line feed (CRLF).
|
| public void | println(boolean
the b)boolean value to write to the clientOverrides jakarta. boolean value to the client, followed by a carriage return-line feed (CRLF).
|
| public void | println(char
the character to write to the client c)Overrides jakarta. |
| public void | println(int
the int to write to the client i)Overrides jakarta. |
| public void | println(long
the l)long value to write to the clientOverrides jakarta. long value to the client, followed by a carriage return-line feed (CRLF).
|
| public void | println(float
the f)float value to write to the clientOverrides jakarta. float value to the client, followed by a carriage return-line feed (CRLF).
|
| public void | println(double
the d)double value to write to the clientOverrides jakarta. double value to the client, followed by a carriage return-line feed (CRLF).
|
| public void | setWriteListener(WriteListener
the writeListener)WriteListener that should be notified when it's possible to writeImplements abstract jakarta. ServletOutputStream to invoke the provided WriteListener when it is possible to
write
|
| public void | write(int
the b)byte.Implements abstract java. |
| public void | write(byte[]
the data. b)Overrides java. b.length bytes from the specified byte array
to this output stream.
|
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
| _outputStream | back to summary |
|---|---|
| private final ServletOutputStream _outputStream | |
| ServletOutputStreamWrapper | back to summary |
|---|---|
| public ServletOutputStreamWrapper(ServletOutputStream outputStream) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Overrides java. Implements java. Doc from java. Flushes this output stream and forces any buffered output bytes
to be written out. The general contract of If the intended destination of this stream is an abstraction provided by the underlying operating system, for example a file, then flushing the stream guarantees only that bytes previously written to the stream are passed to the operating system for writing; it does not guarantee that they are actually written to a physical device such as a disk drive.
| |
| isReady | back to summary |
|---|---|
| public boolean isReady() Implements abstract jakarta. Doc from jakarta. Returns true if data can be written without blocking else returns false.
If this method returns false and a
| |
| nullOutputStream | back to summary |
|---|---|
| public static OutputStream nullOutputStream() Hides java. Doc from java. Returns a new While the stream is open, the The
| |
| back to summary | |
|---|---|
| public void print(String s) throws IOException Overrides jakarta. Doc from jakarta. Writes a
| |
| back to summary | |
|---|---|
| public void print(boolean b) throws IOException Overrides jakarta. Doc from jakarta. Writes a
| |
| back to summary | |
|---|---|
| public void print(char c) throws IOException Overrides jakarta. Doc from jakarta. 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 Overrides jakarta. Doc from jakarta. 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 Overrides jakarta. Doc from jakarta. Writes a
| |
| back to summary | |
|---|---|
| public void print(float f) throws IOException Overrides jakarta. Doc from jakarta. Writes a
| |
| back to summary | |
|---|---|
| public void print(double d) throws IOException Overrides jakarta. Doc from jakarta. Writes a
| |
| println | back to summary |
|---|---|
| public void println() throws IOException Overrides jakarta. Doc from jakarta. Writes a carriage return-line feed (CRLF) to the client.
| |
| println | back to summary |
|---|---|
| public void println(String s) throws IOException Overrides jakarta. Doc from jakarta. Writes a
| |
| println | back to summary |
|---|---|
| public void println(boolean b) throws IOException Overrides jakarta. Doc from jakarta. Writes a
| |
| println | back to summary |
|---|---|
| public void println(char c) throws IOException Overrides jakarta. Doc from jakarta. 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 Overrides jakarta. Doc from jakarta. 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 Overrides jakarta. Doc from jakarta. Writes a
| |
| println | back to summary |
|---|---|
| public void println(float f) throws IOException Overrides jakarta. Doc from jakarta. Writes a
| |
| println | back to summary |
|---|---|
| public void println(double d) throws IOException Overrides jakarta. Doc from jakarta. Writes a
| |
| setWriteListener | back to summary |
|---|---|
| public void setWriteListener(WriteListener writeListener) Implements abstract jakarta. Doc from jakarta. Instructs the
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] b) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |