com.caucho.server.fastcgi
Class FastCgiResponse

java.lang.Object
  extended by com.caucho.server.http.AbstractHttpResponse
      extended by com.caucho.server.fastcgi.FastCgiResponse

public class FastCgiResponse
extends AbstractHttpResponse

Handles a response for a srun connection, i.e. a connection to a web server plugin.


Field Summary
 
Fields inherited from class com.caucho.server.http.AbstractHttpResponse
_calendar, _cb, _contentLength, _footerKeys, _footerValues, _headerBuffer, _headerCodes, _headerKeys, _headerValues, _request, HEADER_CACHE_CONTROL, HEADER_CONNECTION, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_DATE, HEADER_SERVER
 
Method Summary
protected  AbstractResponseStream createResponseStream()
           
 void setHeaderWritten(boolean isWritten)
          headersWritten cannot be undone for hmux
protected  boolean writeHeadersInt(int length, boolean isHead)
           
 
Methods inherited from class com.caucho.server.http.AbstractHttpResponse
addDateHeader, addFooter, addHeader, addHeaderImpl, addIntHeader, clientDisconnect, close, containsHeader, fillCookie, finishInvocation, finishRequest, free, getCalendar, getContentLength, getContentLengthHeader, getFooterKeys, getFooterValues, getHeader, getHeaderKeys, getHeaderNames, getHeaders, getHeaderValues, getRequest, getResponse, getResponseOutputStream, getResponsePrintWriter, getResponseStream, hasFooter, isClosed, isCommitted, isConnectionClosed, isHead, isHeaderWritten, isIgnoreClientDisconnect, parseContentType, removeHeader, reset, setContentLength, setDateHeader, setFooter, setHead, setHeader, setHeaderImpl, setIntHeader, setSpecial, startInvocation, startRequest, writeContinueInt, writeHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createResponseStream

protected AbstractResponseStream createResponseStream()
Specified by:
createResponseStream in class AbstractHttpResponse

setHeaderWritten

public void setHeaderWritten(boolean isWritten)
headersWritten cannot be undone for hmux

Overrides:
setHeaderWritten in class AbstractHttpResponse

writeHeadersInt

protected boolean writeHeadersInt(int length,
                                  boolean isHead)
                           throws java.io.IOException
Specified by:
writeHeadersInt in class AbstractHttpResponse
Throws:
java.io.IOException