Java Doc for CauchoResponseWrapper.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » filters » 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 » EJB Server resin 3.1.5 » resin » com.caucho.filters 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.server.connection.ResponseWrapper
      com.caucho.filters.CauchoResponseWrapper

CauchoResponseWrapper
public class CauchoResponseWrapper extends ResponseWrapper implements CauchoResponse(Code)
Response wrapper that can take advantage of Resin's streams.


Field Summary
protected  AbstractResponseStream_stream
    

Constructor Summary
public  CauchoResponseWrapper()
    
public  CauchoResponseWrapper(HttpServletResponse response)
    

Method Summary
public  voidaddFooter(String key, String value)
    
public  voidclearBuffer()
    
public  voidclose()
     complete the response.
public  booleandisableHeaders(boolean disable)
    
public  voidflushBuffer()
    
public  FlushBuffergetFlushBuffer()
    
public  booleangetForbidForward()
     Returns true if RequestDispatcher.forward() is disallowed on this stream.
public  StringgetHeader(String key)
    
public  ServletOutputStreamgetOutputStream()
     Returns the servlet output stream.
public  intgetRemaining()
    
public  ServletResponsegetResponse()
    
public  AbstractResponseStreamgetResponseStream()
     Gets the response stream.
protected  OutputStreamgetStream()
     Returns the output stream for this wrapper.
public  PrintWritergetWriter()
     Returns the print writer.
public  booleanhasError()
     Returns true if we're processing an error.
public  voidinit(HttpServletResponse response)
     Initialize the response.
public  booleanisCauchoResponseStream()
     Returns true for a caucho response stream.
public  voidkillCache()
     Kills the cache for an error.
public  voidreset()
    
public  voidresetBuffer()
    
public  voidsetContentType(String value)
     Sets the response content type.
public  voidsetFlushBuffer(FlushBuffer flushBuffer)
    
public  voidsetFooter(String key, String value)
    
public  voidsetForbidForward(boolean forbid)
     When set to true, RequestDispatcher.forward() is disallowed on this stream.
public  voidsetHasError(boolean hasError)
     Set to true while processing an error.
public  voidsetLocale(Locale locale)
    
public  voidsetNoCache(boolean isPrivate)
    
public  voidsetPrivateCache(boolean isPrivate)
    
public  voidsetResponseStream(AbstractResponseStream stream)
    
public  voidsetSessionId(String id)
    

Field Detail
_stream
protected AbstractResponseStream _stream(Code)




Constructor Detail
CauchoResponseWrapper
public CauchoResponseWrapper()(Code)



CauchoResponseWrapper
public CauchoResponseWrapper(HttpServletResponse response)(Code)




Method Detail
addFooter
public void addFooter(String key, String value)(Code)



clearBuffer
public void clearBuffer()(Code)



close
public void close() throws IOException(Code)
complete the response.



disableHeaders
public boolean disableHeaders(boolean disable)(Code)



flushBuffer
public void flushBuffer() throws IOException(Code)



getFlushBuffer
public FlushBuffer getFlushBuffer()(Code)
Gets the flush buffer



getForbidForward
public boolean getForbidForward()(Code)
Returns true if RequestDispatcher.forward() is disallowed on this stream.



getHeader
public String getHeader(String key)(Code)



getOutputStream
public ServletOutputStream getOutputStream() throws IOException(Code)
Returns the servlet output stream.



getRemaining
public int getRemaining()(Code)



getResponse
public ServletResponse getResponse()(Code)



getResponseStream
public AbstractResponseStream getResponseStream()(Code)
Gets the response stream.



getStream
protected OutputStream getStream() throws IOException(Code)
Returns the output stream for this wrapper.



getWriter
public PrintWriter getWriter() throws IOException(Code)
Returns the print writer.



hasError
public boolean hasError()(Code)
Returns true if we're processing an error.



init
public void init(HttpServletResponse response)(Code)
Initialize the response.



isCauchoResponseStream
public boolean isCauchoResponseStream()(Code)
Returns true for a caucho response stream.



killCache
public void killCache()(Code)
Kills the cache for an error.



reset
public void reset()(Code)



resetBuffer
public void resetBuffer()(Code)



setContentType
public void setContentType(String value)(Code)
Sets the response content type.



setFlushBuffer
public void setFlushBuffer(FlushBuffer flushBuffer)(Code)
Sets the flush buffer



setFooter
public void setFooter(String key, String value)(Code)



setForbidForward
public void setForbidForward(boolean forbid)(Code)
When set to true, RequestDispatcher.forward() is disallowed on this stream.



setHasError
public void setHasError(boolean hasError)(Code)
Set to true while processing an error.



setLocale
public void setLocale(Locale locale)(Code)



setNoCache
public void setNoCache(boolean isPrivate)(Code)



setPrivateCache
public void setPrivateCache(boolean isPrivate)(Code)



setResponseStream
public void setResponseStream(AbstractResponseStream stream)(Code)
Sets the ResponseStream



setSessionId
public void setSessionId(String id)(Code)



Fields inherited from com.caucho.server.connection.ResponseWrapper
protected HttpServletResponse _response(Code)(Java Doc)

Methods inherited from com.caucho.server.connection.ResponseWrapper
public void addCookie(Cookie cookie)(Code)(Java Doc)
public void addDateHeader(String name, long date)(Code)(Java Doc)
public void addFooter(String key, String value)(Code)(Java Doc)
public void addHeader(String name, String value)(Code)(Java Doc)
public void addIntHeader(String name, int value)(Code)(Java Doc)
public boolean containsHeader(String name)(Code)(Java Doc)
public String encodeRedirectURL(String name)(Code)(Java Doc)
public String encodeRedirectUrl(String url)(Code)(Java Doc)
public String encodeURL(String url)(Code)(Java Doc)
public String encodeUrl(String url)(Code)(Java Doc)
public void flushBuffer() throws IOException(Code)(Java Doc)
public int getBufferSize()(Code)(Java Doc)
public String getCharacterEncoding()(Code)(Java Doc)
public String getContentType()(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public ServletOutputStream getOutputStream() throws IOException(Code)(Java Doc)
public ServletResponse getResponse()(Code)(Java Doc)
public PrintWriter getWriter() throws IOException(Code)(Java Doc)
public boolean isCommitted()(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void resetBuffer()(Code)(Java Doc)
public void sendError(int sc, String msg) throws IOException(Code)(Java Doc)
public void sendError(int sc) throws IOException(Code)(Java Doc)
public void sendRedirect(String location) throws IOException(Code)(Java Doc)
public void setBufferSize(int size)(Code)(Java Doc)
public void setCharacterEncoding(String encoding)(Code)(Java Doc)
public void setContentLength(int len)(Code)(Java Doc)
public void setContentType(String type)(Code)(Java Doc)
public void setDateHeader(String name, long date)(Code)(Java Doc)
public void setFooter(String key, String value)(Code)(Java Doc)
public void setHeader(String name, String value)(Code)(Java Doc)
public void setIntHeader(String name, int value)(Code)(Java Doc)
public void setLocale(Locale locale)(Code)(Java Doc)
public void setResponse(HttpServletResponse response)(Code)(Java Doc)
public void setStatus(int sc)(Code)(Java Doc)
public void setStatus(int sc, String msg)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.