|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--java.io.Writer | +--java.io.PrintWriter | +--org.apache.catalina.connector.ResponseWriter
Wrapper around the standard java.io.PrintWriter
that keeps
track of whether or not any characters have ever been written (even if they
are still buffered inside the PrintWriter or any other Writer that it uses
above the underlying TCP/IP socket). This is required by the semantics of
several calls on ServletResponse, which are required to throw an
IllegalStateException
if output has ever been written.
フィールドの概要 | |
protected ResponseStream |
stream
The response stream to which we are attached. |
クラス java.io.PrintWriter から継承したフィールド |
out |
クラス java.io.Writer から継承したフィールド |
lock |
コンストラクタの概要 | |
ResponseWriter(java.io.OutputStreamWriter writer,
ResponseStream stream)
Construct a new ResponseWriter, wrapping the specified writer and attached to the specified response. |
メソッドの概要 | |
void |
flush()
Flush this stream, and cause the response to be committed. |
void |
print(boolean b)
Print a boolean value. |
void |
print(char c)
Print a character value. |
void |
print(char[] ca)
Print a character array value. |
void |
print(double d)
Print a double value. |
void |
print(float f)
Print a float value. |
void |
print(int i)
Print an integer value. |
void |
print(long l)
Print a long value. |
void |
print(java.lang.Object o)
Print an object value. |
void |
print(java.lang.String s)
Print a String value. |
void |
println()
Terminate the current line by writing the line separator string. |
void |
println(boolean b)
Print a boolean value and terminate the current line. |
void |
println(char c)
Print a character value and terminate the current line. |
void |
println(char[] ca)
Print a character array value and terminate the current line. |
void |
println(double d)
Print a double value and terminate the current line. |
void |
println(float f)
Print a float value and terminate the current line. |
void |
println(int i)
Print an integer value and terminate the current line. |
void |
println(long l)
Print a long value and terminate the current line. |
void |
println(java.lang.Object o)
Print an object value and terminate the current line. |
void |
println(java.lang.String s)
Print a String value and terminate the current line. |
void |
write(char c)
Write a single character. |
void |
write(char[] ca)
Write an array of characters. |
void |
write(char[] ca,
int off,
int len)
Write a portion of an array of characters. |
void |
write(java.lang.String s)
Write a String. |
void |
write(java.lang.String s,
int off,
int len)
Write a portion of a String. |
クラス java.io.PrintWriter から継承したメソッド |
checkError, close, setError, write |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected ResponseStream stream
コンストラクタの詳細 |
public ResponseWriter(java.io.OutputStreamWriter writer, ResponseStream stream)
writer
- OutputStreamWriter to which we are attachedstream
- ResponseStream to which we are attachedメソッドの詳細 |
public void flush()
java.io.PrintWriter
内の flush
public void print(boolean b)
java.io.PrintWriter
内の print
b
- The value to be printedpublic void print(char c)
java.io.PrintWriter
内の print
c
- The value to be printedpublic void print(char[] ca)
java.io.PrintWriter
内の print
ca
- The value to be printedpublic void print(double d)
java.io.PrintWriter
内の print
d
- The value to be printedpublic void print(float f)
java.io.PrintWriter
内の print
f
- The value to be printedpublic void print(int i)
java.io.PrintWriter
内の print
i
- The value to be printed.public void print(long l)
java.io.PrintWriter
内の print
l
- The value to be printedpublic void print(java.lang.Object o)
java.io.PrintWriter
内の print
o
- The value to be printedpublic void print(java.lang.String s)
java.io.PrintWriter
内の print
s
- The value to be printedpublic void println()
java.io.PrintWriter
内の println
public void println(boolean b)
java.io.PrintWriter
内の println
b
- The value to be printedpublic void println(char c)
java.io.PrintWriter
内の println
c
- The value to be printedpublic void println(char[] ca)
java.io.PrintWriter
内の println
ca
- The value to be printedpublic void println(double d)
java.io.PrintWriter
内の println
d
- The value to be printedpublic void println(float f)
java.io.PrintWriter
内の println
f
- The value to be printedpublic void println(int i)
java.io.PrintWriter
内の println
i
- The value to be printed.public void println(long l)
java.io.PrintWriter
内の println
l
- The value to be printedpublic void println(java.lang.Object o)
java.io.PrintWriter
内の println
o
- The value to be printedpublic void println(java.lang.String s)
java.io.PrintWriter
内の println
s
- The value to be printedpublic void write(char c)
c
- The value to be writtenpublic void write(char[] ca)
java.io.PrintWriter
内の write
ca
- The value to be writtenpublic void write(char[] ca, int off, int len)
java.io.PrintWriter
内の write
ca
- The array from which to writeoff
- Starting offsetlen
- Number of characters to writepublic void write(java.lang.String s)
java.io.PrintWriter
内の write
s
- The value to be writtenpublic void write(java.lang.String s, int off, int len)
java.io.PrintWriter
内の write
s
- The String from which to writeoff
- Starting offsetlen
- Number of characters to write
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |