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


java.lang.Object
   com.caucho.server.connection.ResponseWrapper
      com.caucho.server.connection.ResponseAdapter

All known Subclasses:   com.caucho.server.connection.ToCharResponseAdapter,
ResponseAdapter
public class ResponseAdapter extends ResponseWrapper implements CauchoResponse(Code)


Field Summary
protected  FlushBuffer_flushBuffer
    
protected  AbstractResponseStream_originalResponseStream
    
protected  RequestAdapter_request
    
protected  AbstractResponseStream_responseStream
    

Constructor Summary
protected  ResponseAdapter(HttpServletResponse response)
    

Method Summary
public  voidaddCookie(Cookie cookie)
    
public  voidaddFooter(String key, String value)
    
public  voidclose()
    
public static  ResponseAdaptercreate(HttpServletResponse response)
     Creates a new ResponseAdapter.
protected  AbstractResponseStreamcreateWrapperResponseStream()
    
public  booleandisableHeaders(boolean disable)
    
public  voidfinish()
    
public static  voidfree(ResponseAdapter resAdapt)
    
protected  voidfree()
     Clears the adapter.
public  intgetBufferSize()
    
public  FlushBuffergetFlushBuffer()
    
public  booleangetForbidForward()
     Returns true if RequestDispatcher.forward() is disallowed on this stream.
public  StringgetHeader(String key)
    
public  ServletOutputStreamgetOutputStream()
    
public  intgetRemaining()
    
public  AbstractResponseStreamgetResponseStream()
    
public  PrintWritergetWriter()
    
public  booleanhasError()
     Returns true if we're processing an error.
public  voidinit(HttpServletResponse response)
    
public  booleanisCauchoResponseStream()
    
public  booleanisTop()
    
public  voidkillCache()
     Kills the cache for an error.
public  voidresetBuffer()
    
public  voidsendRedirect(String url)
    
public  voidsetBufferSize(int size)
    
public  voidsetContentType(String value)
    
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  voidsetNoCache(boolean isPrivate)
    
public  voidsetPrivateCache(boolean isPrivate)
    
 voidsetRequest(RequestAdapter request)
    
public  voidsetResponseStream(AbstractResponseStream responseStream)
    
public  voidsetSessionId(String id)
    

Field Detail
_flushBuffer
protected FlushBuffer _flushBuffer(Code)



_originalResponseStream
protected AbstractResponseStream _originalResponseStream(Code)



_request
protected RequestAdapter _request(Code)



_responseStream
protected AbstractResponseStream _responseStream(Code)




Constructor Detail
ResponseAdapter
protected ResponseAdapter(HttpServletResponse response)(Code)




Method Detail
addCookie
public void addCookie(Cookie cookie)(Code)



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



close
public void close() throws IOException(Code)



create
public static ResponseAdapter create(HttpServletResponse response)(Code)
Creates a new ResponseAdapter.



createWrapperResponseStream
protected AbstractResponseStream createWrapperResponseStream()(Code)



disableHeaders
public boolean disableHeaders(boolean disable)(Code)



finish
public void finish() throws IOException(Code)



free
public static void free(ResponseAdapter resAdapt)(Code)



free
protected void free()(Code)
Clears the adapter.



getBufferSize
public int getBufferSize()(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)



getRemaining
public int getRemaining()(Code)



getResponseStream
public AbstractResponseStream getResponseStream()(Code)



getWriter
public PrintWriter getWriter() throws IOException(Code)



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



init
public void init(HttpServletResponse response)(Code)



isCauchoResponseStream
public boolean isCauchoResponseStream()(Code)



isTop
public boolean isTop()(Code)



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



resetBuffer
public void resetBuffer()(Code)



sendRedirect
public void sendRedirect(String url) throws IOException(Code)



setBufferSize
public void setBufferSize(int size)(Code)



setContentType
public void setContentType(String value)(Code)



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.



setNoCache
public void setNoCache(boolean isPrivate)(Code)
Sets no caching



setPrivateCache
public void setPrivateCache(boolean isPrivate)(Code)
Sets private caching



setRequest
void setRequest(RequestAdapter request)(Code)



setResponseStream
public void setResponseStream(AbstractResponseStream responseStream)(Code)



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.