|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.connection.AbstractHttpResponse
com.caucho.server.http.HttpResponse
public class HttpResponse
| Field Summary |
|---|
| Fields inherited from class com.caucho.server.connection.AbstractHttpResponse |
|---|
_calendar, _cb, _charEncoding, _contentLength, _contentPrefix, _contentType, _cookiesOut, _disableCaching, _disableHeaders, _footerKeys, _footerValues, _forbidForward, _hasCharEncoding, _hasError, _hasOutputStream, _hasSentLog, _hasWriter, _headerBuffer, _headerCodes, _headerKeys, _headerValues, _isClosed, _isNoCache, _isTopCache, _originalRequest, _rawWrite, _statusCode, _statusMessage, HEADER_CACHE_CONTROL, HEADER_CONNECTION, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_DATE, HEADER_SERVER, log |
| Method Summary | |
|---|---|
WriteStream |
getRawOutput()
Switch to raw socket mode. |
boolean |
isTop()
Return true for the top request. |
void |
switchToRaw()
Switch to raw socket mode. |
java.lang.String |
toString()
|
TcpDuplexController |
upgradeProtocol(TcpDuplexHandler handler)
Upgrade protocol |
protected void |
writeContinueInt(WriteStream os)
Writes the 100 continue response. |
protected boolean |
writeHeadersInt(WriteStream os,
int length,
boolean isHead)
Implementation to write the HTTP headers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void switchToRaw()
throws java.io.IOException
switchToRaw in class AbstractHttpResponsejava.io.IOException
public WriteStream getRawOutput()
throws java.io.IOException
getRawOutput in class AbstractHttpResponsejava.io.IOExceptionpublic TcpDuplexController upgradeProtocol(TcpDuplexHandler handler)
upgradeProtocol in class AbstractHttpResponsepublic boolean isTop()
isTop in class AbstractHttpResponse
protected void writeContinueInt(WriteStream os)
throws java.io.IOException
writeContinueInt in class AbstractHttpResponsejava.io.IOException
protected boolean writeHeadersInt(WriteStream os,
int length,
boolean isHead)
throws java.io.IOException
writeHeadersInt in class AbstractHttpResponseos - the output stream to write the headers to.length - if non-negative, the length of the entire request.
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||