|
|||||||||
| Home >> All >> com >> prolifics >> [ servlet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.prolifics.servlet
Class FilterServletOutputStream

java.lang.Objectjava.io.OutputStream
javax.servlet.ServletOutputStream
com.prolifics.servlet.FilterServletOutputStream
- public class FilterServletOutputStream
- extends javax.servlet.ServletOutputStream
- Since:
- JDK1.0
- Version:
- @(#)FilterServletOutputStream.java 77.1 99/04/22 15:03:04
| Field Summary | |
protected java.io.OutputStream |
out
|
private static java.lang.String |
sccsid
|
| Fields inherited from class javax.servlet.ServletOutputStream |
|
| Constructor Summary | |
FilterServletOutputStream(java.io.OutputStream out)
|
|
FilterServletOutputStream(javax.servlet.ServletOutputStream out)
|
|
| Method Summary | |
void |
close()
This method closes the stream. |
void |
flush()
This method forces any data that may have been buffered to be written to the underlying output device. |
void |
print(boolean bval)
Writes a boolean value to the client,
with no carriage return-line feed (CRLF)
character at the end. |
void |
print(char cval)
Writes a character to the client, with no carriage return-line feed (CRLF) at the end. |
void |
print(double dval)
Writes a double value to the client,
with no carriage return-line feed (CRLF) at the end. |
void |
print(float fval)
Writes a float value to the client,
with no carriage return-line feed (CRLF) at the end. |
void |
print(int ival)
Writes an int to the client, with no carriage return-line feed (CRLF) at the end. |
void |
print(long lval)
Writes a long value to the client,
with no carriage return-line feed (CRLF) at the end. |
void |
print(java.lang.String sval)
Writes a String to the client,
without a carriage return-line feed (CRLF)
character at the end. |
void |
println()
Writes a carriage return-line feed (CRLF) to the client. |
void |
println(boolean bval)
Writes a boolean value to the client,
followed by a
carriage return-line feed (CRLF). |
void |
println(char cval)
Writes a character to the client, followed by a carriage return-line feed (CRLF). |
void |
println(double dval)
Writes a double value to the client,
followed by a carriage return-line feed (CRLF). |
void |
println(float fval)
Writes a float value to the client,
followed by a carriage return-line feed (CRLF). |
void |
println(int ival)
Writes an int to the client, followed by a carriage return-line feed (CRLF) character. |
void |
println(long lval)
Writes a long value to the client, followed by a
carriage return-line feed (CRLF). |
void |
println(java.lang.String sval)
Writes a String to the client,
followed by a carriage return-line feed (CRLF). |
void |
write(byte[] buf)
This method all the writes bytes from the passed array to the output stream. |
void |
write(byte[] buf,
int off,
int len)
This method writes len bytes from the specified array
b starting at index off into the array. |
void |
write(int val)
This method writes a single byte to the output stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
sccsid
private static java.lang.String sccsid
out
protected java.io.OutputStream out
| Constructor Detail |
FilterServletOutputStream
public FilterServletOutputStream(java.io.OutputStream out)
FilterServletOutputStream
public FilterServletOutputStream(javax.servlet.ServletOutputStream out)
| Method Detail |
write
public void write(int val)
throws java.io.IOException
- Description copied from class:
java.io.OutputStream - This method writes a single byte to the output stream. The byte written
is the low eight bits of the
intpassed and a argument.Subclasses must provide an implementation of this abstract method
write
public void write(byte[] buf)
throws java.io.IOException
- Description copied from class:
java.io.OutputStream - This method all the writes bytes from the passed array to the
output stream. This method is equivalent to
write(b, 0, buf.length)which is exactly how it is implemented in this class.
write
public void write(byte[] buf,
int off,
int len)
throws java.io.IOException
- Description copied from class:
java.io.OutputStream - This method writes
lenbytes from the specified arraybstarting at indexoffinto the array.This method in this class calls the single byte
write()method in a loop until all bytes have been written. Subclasses should override this method if possible in order to provide a more efficent implementation.
flush
public void flush()
throws java.io.IOException
- Description copied from class:
java.io.OutputStream - This method forces any data that may have been buffered to be written
to the underlying output device. Please note that the host environment
might perform its own buffering unbeknowst to Java. In that case, a
write made (for example, to a disk drive) might be cached in OS
buffers instead of actually being written to disk.
This method in this class does nothing.
close
public void close()
throws java.io.IOException
- Description copied from class:
java.io.OutputStream - This method closes the stream. Any internal or native resources
associated with this stream are freed. Any subsequent attempt to
access the stream might throw an exception.
This method in this class does nothing.
public void print(java.lang.String sval) throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
Stringto the client, without a carriage return-line feed (CRLF) character at the end.
public void print(boolean bval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
booleanvalue to the client, with no carriage return-line feed (CRLF) character at the end.
public void print(char cval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a character to the client,
with no carriage return-line feed (CRLF)
at the end.
public void print(int ival)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes an int to the client,
with no carriage return-line feed (CRLF)
at the end.
public void print(long lval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
longvalue to the client, with no carriage return-line feed (CRLF) at the end.
public void print(float fval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
floatvalue to the client, with no carriage return-line feed (CRLF) at the end.
public void print(double dval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
doublevalue to the client, with no carriage return-line feed (CRLF) at the end.
println
public void println()
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a carriage return-line feed (CRLF)
to the client.
println
public void println(java.lang.String sval) throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
Stringto the client, followed by a carriage return-line feed (CRLF).
println
public void println(boolean bval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
booleanvalue to the client, followed by a carriage return-line feed (CRLF).
println
public void println(char cval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a character to the client, followed by a carriage
return-line feed (CRLF).
println
public void println(int ival)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes an int to the client, followed by a
carriage return-line feed (CRLF) character.
println
public void println(long lval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
longvalue to the client, followed by a carriage return-line feed (CRLF).
println
public void println(float fval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
floatvalue to the client, followed by a carriage return-line feed (CRLF).
println
public void println(double dval)
throws java.io.IOException
- Description copied from class:
javax.servlet.ServletOutputStream - Writes a
doublevalue to the client, followed by a carriage return-line feed (CRLF).
|
|||||||||
| Home >> All >> com >> prolifics >> [ servlet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC