Example usage for Java javax.servlet ServletOutputStream fields, constructors, methods, implement or subclass
The text is from its open source code.
ServletOutputStream() Does nothing, because this is an abstract class. |
void | close() Closes this output stream and releases any system resources associated with this stream. |
void | flush() Flushes this output stream and forces any buffered output bytes to be written out. |
boolean | isReady() This method can be used to determine if data can be written without blocking. |
void | print(String s) Writes a String to the client, without a carriage return-line feed (CRLF) character at the end. |
void | print(boolean b) Writes a boolean value to the client, with no carriage return-line feed (CRLF) character at the end. |
void | print(char c) Writes a character to the client, with no carriage return-line feed (CRLF) at the end. |
void | print(int i) Writes an int to the client, with no carriage return-line feed (CRLF) at the end. |
void | print(long l) Writes a long value to the client, with no carriage return-line feed (CRLF) at the end. |
void | print(float f) Writes a float value to the client, with no carriage return-line feed (CRLF) at the end. |
void | print(double d) Writes a double value to the client, with no carriage return-line feed (CRLF) at the end. |
void | println() Writes a carriage return-line feed (CRLF) to the client. |
void | println(String s) Writes a String to the client, followed by a carriage return-line feed (CRLF). |
void | println(boolean b) Writes a boolean value to the client, followed by a carriage return-line feed (CRLF). |
void | println(char c) Writes a character to the client, followed by a carriage return-line feed (CRLF). |
void | println(int i) Writes an int to the client, followed by a carriage return-line feed (CRLF) character. |
void | println(long l) Writes a long value to the client, followed by a carriage return-line feed (CRLF). |
void | println(float f) Writes a float value to the client, followed by a carriage return-line feed (CRLF). |
void | println(double d) Writes a double value to the client, followed by a carriage return-line feed (CRLF). |
void | setWriteListener(WriteListener writeListener) Instructs the ServletOutputStream to invoke the provided WriteListener when it is possible to write |
void | write(int b) Writes the specified byte to this output stream. |
void | write(byte b[], int off, int len) Writes len bytes from the specified byte array starting at offset off to this output stream. |