|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.http.AbstractCauchoResponse
com.caucho.server.http.CauchoResponseWrapper
com.caucho.server.cache.ProxyCacheResponse
public class ProxyCacheResponse
| Field Summary |
|---|
| Method Summary | |
|---|---|
void |
close()
|
void |
flushBuffer()
Flushes the buffer to the client. |
ServletOutputStream |
getOutputStream()
Returns an output stream for writing to the client. |
java.io.PrintWriter |
getWriter()
Returns a PrintWriter with the proper character encoding for writing text data to the client. |
void |
sendError(int code)
Sends an HTTP error page based on the status code |
void |
sendError(int code,
java.lang.String message)
Sends an HTTP error page based on the status code |
void |
setStatus(int code)
Sets the HTTP status |
void |
setStatus(int code,
java.lang.String message)
|
void |
writeHeaders(int length)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setStatus(int code)
HttpServletResponse
setStatus in interface HttpServletResponsesetStatus in class CauchoResponseWrappercode - the HTTP status code
public void setStatus(int code,
java.lang.String message)
setStatus in interface HttpServletResponsesetStatus in class CauchoResponseWrapper
public void sendError(int code)
throws java.io.IOException
HttpServletResponse
sendError in interface HttpServletResponsesendError in class CauchoResponseWrappercode - the HTTP status code
java.io.IOException
public void sendError(int code,
java.lang.String message)
throws java.io.IOException
HttpServletResponse
sendError in interface HttpServletResponsesendError in class CauchoResponseWrappercode - the HTTP status code
java.io.IOException
public java.io.PrintWriter getWriter()
throws java.io.IOException
ServletResponse
getWriter in interface ServletResponsegetWriter in class CauchoResponseWrapperjava.io.IOException
public ServletOutputStream getOutputStream()
throws java.io.IOException
ServletResponse
getOutputStream in interface ServletResponsegetOutputStream in class CauchoResponseWrapperjava.io.IOException
public void flushBuffer()
throws java.io.IOException
ServletResponse
flushBuffer in interface ServletResponseflushBuffer in class CauchoResponseWrapperjava.io.IOException
public void writeHeaders(int length)
throws java.io.IOException
writeHeaders in interface CauchoResponsewriteHeaders in class AbstractCauchoResponsejava.io.IOException
public void close()
throws java.io.IOException
close in interface CauchoResponseclose in class CauchoResponseWrapperjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||