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


java.lang.Object
   com.caucho.server.connection.AbstractHttpResponse
      com.caucho.server.webapp.DispatchResponse

DispatchResponse
class DispatchResponse extends AbstractHttpResponse (Code)
Internal response for an include() or forward()



Constructor Summary
protected  DispatchResponse()
    

Method Summary
public static  DispatchResponsecreateDispatch()
     Creates a dispatch request.
protected  AbstractResponseStreamcreateResponseStream()
     Creates the response stream.
public  StringencodeRedirectURL(String url)
     Wrapped calls.
public  StringencodeURL(String url)
     Wrapped calls.
public  voidfree()
     Frees the response.
public static  voidfree(DispatchResponse res)
     Frees the request.
public  StringgetCharacterEncoding()
    
public  ServletResponsegetResponse()
     Gets the next response.
public  booleanisCauchoResponse()
     Returns true for a caucho response.
public  booleanisCommitted()
    
public  booleanisTop()
     This is not a top response.
public  voidkillCache()
     Kills the cache.
public  voidsetCauchoResponseStream(boolean isCaucho)
     Set true for a caucho response stream.
public  voidsetContentType(String type)
     included response can't set the content type.
public  voidsetNextResponse(HttpServletResponse next)
     Sets the next response.
public  voidstart()
     Starts the response.
protected  booleanwriteHeadersInt(WriteStream os, int length)
     included() responses don't print the headers.


Constructor Detail
DispatchResponse
protected DispatchResponse()(Code)




Method Detail
createDispatch
public static DispatchResponse createDispatch()(Code)
Creates a dispatch request.



createResponseStream
protected AbstractResponseStream createResponseStream()(Code)
Creates the response stream.



encodeRedirectURL
public String encodeRedirectURL(String url)(Code)
Wrapped calls.



encodeURL
public String encodeURL(String url)(Code)
Wrapped calls.



free
public void free()(Code)
Frees the response.



free
public static void free(DispatchResponse res)(Code)
Frees the request.



getCharacterEncoding
public String getCharacterEncoding()(Code)



getResponse
public ServletResponse getResponse()(Code)
Gets the next response.



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



isCommitted
public boolean isCommitted()(Code)



isTop
public boolean isTop()(Code)
This is not a top response.



killCache
public void killCache()(Code)
Kills the cache.



setCauchoResponseStream
public void setCauchoResponseStream(boolean isCaucho)(Code)
Set true for a caucho response stream.



setContentType
public void setContentType(String type)(Code)
included response can't set the content type.



setNextResponse
public void setNextResponse(HttpServletResponse next)(Code)
Sets the next response.



start
public void start() throws IOException(Code)
Starts the response.



writeHeadersInt
protected boolean writeHeadersInt(WriteStream os, int length) throws IOException(Code)
included() responses don't print the headers.



Fields inherited from com.caucho.server.connection.AbstractHttpResponse
final protected static int HEADER_CACHE_CONTROL(Code)(Java Doc)
final protected static int HEADER_CONNECTION(Code)(Java Doc)
final protected static int HEADER_CONTENT_LENGTH(Code)(Java Doc)
final protected static int HEADER_CONTENT_TYPE(Code)(Java Doc)
final protected static int HEADER_DATE(Code)(Java Doc)
final protected static int HEADER_SERVER(Code)(Java Doc)
final protected QDate _calendar(Code)(Java Doc)
final protected CharBuffer _cb(Code)(Java Doc)
protected String _charEncoding(Code)(Java Doc)
protected long _contentLength(Code)(Java Doc)
protected String _contentPrefix(Code)(Java Doc)
protected String _contentType(Code)(Java Doc)
final protected ArrayList<Cookie> _cookiesOut(Code)(Java Doc)
protected boolean _disableCaching(Code)(Java Doc)
protected boolean _disableHeaders(Code)(Java Doc)
final protected ArrayList<String> _footerKeys(Code)(Java Doc)
final protected ArrayList<String> _footerValues(Code)(Java Doc)
protected boolean _forbidForward(Code)(Java Doc)
protected boolean _hasCharEncoding(Code)(Java Doc)
protected boolean _hasError(Code)(Java Doc)
protected boolean _hasOutputStream(Code)(Java Doc)
protected boolean _hasSentLog(Code)(Java Doc)
protected boolean _hasWriter(Code)(Java Doc)
final protected char[] _headerBuffer(Code)(Java Doc)
final protected static CaseInsensitiveIntMap _headerCodes(Code)(Java Doc)
final protected ArrayList<String> _headerKeys(Code)(Java Doc)
final protected ArrayList<String> _headerValues(Code)(Java Doc)
protected boolean _isClosed(Code)(Java Doc)
protected boolean _isNoCache(Code)(Java Doc)
protected boolean _isTopCache(Code)(Java Doc)
protected CauchoRequest _originalRequest(Code)(Java Doc)
protected WriteStream _rawWrite(Code)(Java Doc)
protected CauchoRequest _request(Code)(Java Doc)
protected int _statusCode(Code)(Java Doc)
protected String _statusMessage(Code)(Java Doc)
final protected static Logger log(Code)(Java Doc)

Methods inherited from com.caucho.server.connection.AbstractHttpResponse
public void addCookie(Cookie cookie)(Code)(Java Doc)
public void addDateHeader(String key, long value)(Code)(Java Doc)
public void addFooter(String key, String value)(Code)(Java Doc)
public void addHeader(String key, String value)(Code)(Java Doc)
public void addIntHeader(String key, int value)(Code)(Java Doc)
public void clearBuffer()(Code)(Java Doc)
public void close() throws IOException(Code)(Java Doc)
public boolean containsHeader(String name)(Code)(Java Doc)
protected AbstractResponseStream createResponseStream()(Code)(Java Doc)
public boolean disableCaching(boolean disable)(Code)(Java Doc)
public boolean disableHeaders(boolean disable)(Code)(Java Doc)
public String encodeRedirectURL(String string)(Code)(Java Doc)
public String encodeRedirectUrl(String string)(Code)(Java Doc)
public String encodeURL(String string)(Code)(Java Doc)
public String encodeUrl(String string)(Code)(Java Doc)
public boolean fillCookie(CharBuffer cb, Cookie cookie, long date, int version, boolean isCookie2)(Code)(Java Doc)
public void finish() throws IOException(Code)(Java Doc)
public void flushBuffer() throws IOException(Code)(Java Doc)
public void flushHeader() throws IOException(Code)(Java Doc)
protected void free()(Code)(Java Doc)
public int getBufferSize()(Code)(Java Doc)
final protected QDate getCalendar()(Code)(Java Doc)
public String getCharacterEncoding()(Code)(Java Doc)
public int getContentLength()(Code)(Java Doc)
public long getContentLengthHeader()(Code)(Java Doc)
public String getContentType()(Code)(Java Doc)
protected ConnectionController getController()(Code)(Java Doc)
public Cookie getCookie(String name)(Code)(Java Doc)
public ArrayList getCookies()(Code)(Java Doc)
public FlushBuffer getFlushBuffer()(Code)(Java Doc)
public boolean getForbidForward()(Code)(Java Doc)
public String getHeader(String name)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public PrintWriter getNextWriter()(Code)(Java Doc)
public CauchoRequest getOriginalRequest()(Code)(Java Doc)
public AbstractResponseStream getOriginalStream()(Code)(Java Doc)
public ServletOutputStream getOutputStream() throws IOException(Code)(Java Doc)
public boolean getPrivateCache()(Code)(Java Doc)
public WriteStream getRawOutput() throws IOException(Code)(Java Doc)
public int getRemaining()(Code)(Java Doc)
public CauchoRequest getRequest()(Code)(Java Doc)
public ServletResponse getResponse()(Code)(Java Doc)
public AbstractResponseStream getResponseStream()(Code)(Java Doc)
public int getStatusCode()(Code)(Java Doc)
public PrintWriter getWriter() throws IOException(Code)(Java Doc)
public boolean hasError()(Code)(Java Doc)
public void init(WriteStream stream)(Code)(Java Doc)
public void init(CauchoRequest request)(Code)(Java Doc)
public boolean isCauchoResponseStream()(Code)(Java Doc)
public boolean isClosed()(Code)(Java Doc)
public boolean isCommitted()(Code)(Java Doc)
final protected boolean isHead()(Code)(Java Doc)
final public boolean isHeaderWritten()(Code)(Java Doc)
public boolean isIgnoreClientDisconnect()(Code)(Java Doc)
public boolean isNoCache()(Code)(Java Doc)
protected boolean isPrivateCache()(Code)(Java Doc)
public boolean isTop()(Code)(Java Doc)
public void killCache()(Code)(Java Doc)
public void killCaching()(Code)(Java Doc)
public void removeHeader(String key)(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public void resetBuffer()(Code)(Java Doc)
public void sendError(int code) throws IOException(Code)(Java Doc)
public void sendError(int code, String value) throws IOException(Code)(Java Doc)
public void sendRedirect(String url) throws IOException(Code)(Java Doc)
public void setBufferSize(int size)(Code)(Java Doc)
public void setCacheInvocation(AbstractCacheFilterChain cacheInvocation)(Code)(Java Doc)
public void setCharacterEncoding(String encoding)(Code)(Java Doc)
public void setContentLength(int length)(Code)(Java Doc)
public void setContentType(String value)(Code)(Java Doc)
public void setDateHeader(String name, long value)(Code)(Java Doc)
public void setDisableAutoFlush(boolean disable)(Code)(Java Doc)
public void setFlushBuffer(FlushBuffer flushBuffer)(Code)(Java Doc)
public void setFooter(String key, String value)(Code)(Java Doc)
public void setForbidForward(boolean forbid)(Code)(Java Doc)
public void setHasError(boolean hasError)(Code)(Java Doc)
public void setHeader(String key, String value)(Code)(Java Doc)
final public void setHeaderWritten(boolean isWritten)(Code)(Java Doc)
public void setIntHeader(String name, int value)(Code)(Java Doc)
public void setLocale(Locale locale)(Code)(Java Doc)
public void setMatchCacheEntry(AbstractCacheEntry entry)(Code)(Java Doc)
public void setNoCache(boolean isNoCache)(Code)(Java Doc)
public void setPrivateCache(boolean isPrivate)(Code)(Java Doc)
public void setPrivateOrResinCache(boolean isPrivate)(Code)(Java Doc)
public void setRequest(CauchoRequest req)(Code)(Java Doc)
public void setResponseStream(AbstractResponseStream responseStream)(Code)(Java Doc)
public void setSessionId(String id)(Code)(Java Doc)
protected boolean setSpecial(String key, String value)(Code)(Java Doc)
public void setStatus(int code)(Code)(Java Doc)
public void setStatus(int code, String message)(Code)(Java Doc)
public void setTopCache(boolean isTopCache)(Code)(Java Doc)
public void start() throws IOException(Code)(Java Doc)
protected boolean startCaching(boolean isByte)(Code)(Java Doc)
public void switchToRaw() throws IOException(Code)(Java Doc)
protected void writeContinueInt(WriteStream os) throws IOException(Code)(Java Doc)
protected boolean writeHeaders(WriteStream os, int length) throws IOException(Code)(Java Doc)
abstract protected boolean writeHeadersInt(WriteStream os, int length) throws IOException(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.