Java Doc for ResponseWriter.java in  » Web-Server » Rimfaxe-Web-Server » org » apache » catalina » connector » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Rimfaxe Web Server » org.apache.catalina.connector 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.io.PrintWriter
   org.apache.catalina.connector.ResponseWriter

ResponseWriter
public class ResponseWriter extends PrintWriter (Code)
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.
author:
   Craig R. McClanahan
version:
   $Revision: 1.2 $ $Date: 2002/03/18 07:15:39 $


Field Summary
protected  ResponseStreamstream
     The response stream to which we are attached.

Constructor Summary
public  ResponseWriter(OutputStreamWriter writer, ResponseStream stream)
     Construct a new ResponseWriter, wrapping the specified writer and attached to the specified response.

Method Summary
public  voidflush()
     Flush this stream, and cause the response to be committed.
public  voidprint(boolean b)
     Print a boolean value.
public  voidprint(char c)
     Print a character value.
public  voidprint(char ca)
     Print a character array value.
public  voidprint(double d)
     Print a double value.
public  voidprint(float f)
     Print a float value.
public  voidprint(int i)
     Print an integer value.
public  voidprint(long l)
     Print a long value.
public  voidprint(Object o)
     Print an object value.
public  voidprint(String s)
     Print a String value.
public  voidprintln()
     Terminate the current line by writing the line separator string.
public  voidprintln(boolean b)
     Print a boolean value and terminate the current line.
public  voidprintln(char c)
     Print a character value and terminate the current line.
public  voidprintln(char ca)
     Print a character array value and terminate the current line.
public  voidprintln(double d)
     Print a double value and terminate the current line.
public  voidprintln(float f)
     Print a float value and terminate the current line.
public  voidprintln(int i)
     Print an integer value and terminate the current line.
public  voidprintln(long l)
     Print a long value and terminate the current line.
public  voidprintln(Object o)
     Print an object value and terminate the current line.
public  voidprintln(String s)
     Print a String value and terminate the current line.
public  voidwrite(char c)
     Write a single character.
public  voidwrite(char ca)
     Write an array of characters.
public  voidwrite(char ca, int off, int len)
     Write a portion of an array of characters.
public  voidwrite(String s)
     Write a String.
public  voidwrite(String s, int off, int len)
     Write a portion of a String.

Field Detail
stream
protected ResponseStream stream(Code)
The response stream to which we are attached.




Constructor Detail
ResponseWriter
public ResponseWriter(OutputStreamWriter writer, ResponseStream stream)(Code)
Construct a new ResponseWriter, wrapping the specified writer and attached to the specified response.
Parameters:
  writer - OutputStreamWriter to which we are attached
Parameters:
  stream - ResponseStream to which we are attached




Method Detail
flush
public void flush()(Code)
Flush this stream, and cause the response to be committed.



print
public void print(boolean b)(Code)
Print a boolean value.
Parameters:
  b - The value to be printed



print
public void print(char c)(Code)
Print a character value.
Parameters:
  c - The value to be printed



print
public void print(char ca)(Code)
Print a character array value.
Parameters:
  ca - The value to be printed



print
public void print(double d)(Code)
Print a double value.
Parameters:
  d - The value to be printed



print
public void print(float f)(Code)
Print a float value.
Parameters:
  f - The value to be printed



print
public void print(int i)(Code)
Print an integer value.
Parameters:
  i - The value to be printed.



print
public void print(long l)(Code)
Print a long value.
Parameters:
  l - The value to be printed



print
public void print(Object o)(Code)
Print an object value.
Parameters:
  o - The value to be printed



print
public void print(String s)(Code)
Print a String value.
Parameters:
  s - The value to be printed



println
public void println()(Code)
Terminate the current line by writing the line separator string.



println
public void println(boolean b)(Code)
Print a boolean value and terminate the current line.
Parameters:
  b - The value to be printed



println
public void println(char c)(Code)
Print a character value and terminate the current line.
Parameters:
  c - The value to be printed



println
public void println(char ca)(Code)
Print a character array value and terminate the current line.
Parameters:
  ca - The value to be printed



println
public void println(double d)(Code)
Print a double value and terminate the current line.
Parameters:
  d - The value to be printed



println
public void println(float f)(Code)
Print a float value and terminate the current line.
Parameters:
  f - The value to be printed



println
public void println(int i)(Code)
Print an integer value and terminate the current line.
Parameters:
  i - The value to be printed.



println
public void println(long l)(Code)
Print a long value and terminate the current line.
Parameters:
  l - The value to be printed



println
public void println(Object o)(Code)
Print an object value and terminate the current line.
Parameters:
  o - The value to be printed



println
public void println(String s)(Code)
Print a String value and terminate the current line.
Parameters:
  s - The value to be printed



write
public void write(char c)(Code)
Write a single character.
Parameters:
  c - The value to be written



write
public void write(char ca)(Code)
Write an array of characters.
Parameters:
  ca - The value to be written



write
public void write(char ca, int off, int len)(Code)
Write a portion of an array of characters.
Parameters:
  ca - The array from which to write
Parameters:
  off - Starting offset
Parameters:
  len - Number of characters to write



write
public void write(String s)(Code)
Write a String.
Parameters:
  s - The value to be written



write
public void write(String s, int off, int len)(Code)
Write a portion of a String.
Parameters:
  s - The String from which to write
Parameters:
  off - Starting offset
Parameters:
  len - Number of characters to write



Fields inherited from java.io.PrintWriter
protected Writer out(Code)(Java Doc)

Methods inherited from java.io.PrintWriter
public PrintWriter append(CharSequence csq)(Code)(Java Doc)
public PrintWriter append(CharSequence csq, int start, int end)(Code)(Java Doc)
public PrintWriter append(char c)(Code)(Java Doc)
public boolean checkError()(Code)(Java Doc)
protected void clearError()(Code)(Java Doc)
public void close()(Code)(Java Doc)
public void flush()(Code)(Java Doc)
public PrintWriter format(String format, Object... args)(Code)(Java Doc)
public PrintWriter format(Locale l, String format, Object... args)(Code)(Java Doc)
public void print(boolean b)(Code)(Java Doc)
public void print(char c)(Code)(Java Doc)
public void print(int i)(Code)(Java Doc)
public void print(long l)(Code)(Java Doc)
public void print(float f)(Code)(Java Doc)
public void print(double d)(Code)(Java Doc)
public void print(char s)(Code)(Java Doc)
public void print(String s)(Code)(Java Doc)
public void print(Object obj)(Code)(Java Doc)
public PrintWriter printf(String format, Object... args)(Code)(Java Doc)
public PrintWriter printf(Locale l, String format, Object... args)(Code)(Java Doc)
public void println()(Code)(Java Doc)
public void println(boolean x)(Code)(Java Doc)
public void println(char x)(Code)(Java Doc)
public void println(int x)(Code)(Java Doc)
public void println(long x)(Code)(Java Doc)
public void println(float x)(Code)(Java Doc)
public void println(double x)(Code)(Java Doc)
public void println(char x)(Code)(Java Doc)
public void println(String x)(Code)(Java Doc)
public void println(Object x)(Code)(Java Doc)
protected void setError()(Code)(Java Doc)
public void write(int c)(Code)(Java Doc)
public void write(char buf, int off, int len)(Code)(Java Doc)
public void write(char buf)(Code)(Java Doc)
public void write(String s, int off, int len)(Code)(Java Doc)
public void write(String s)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.