|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ajax4jsf.webapp.CacheContent
public class CacheContent
| Constructor Summary | |
|---|---|
CacheContent()
|
|
| Method Summary | |
|---|---|
void |
flush(javax.servlet.http.HttpServletResponse response)
Flush used output writer/stream, to fix https://jira.jboss.org/jira/browse/RF-4017 |
int |
getContentLength()
|
java.lang.String |
getContentType()
|
java.io.OutputStream |
getOutputStream()
Create UNIX command 'tee' like stream - send all data to servlet |
java.io.PrintWriter |
getWriter()
|
void |
send(javax.servlet.http.HttpServletResponse response)
Send saved content to http responce |
void |
sendHeaders(javax.servlet.http.HttpServletResponse response)
Send saved headers to http responce. |
void |
setContentLength(int contentLength)
|
void |
setContentType(java.lang.String contentType)
|
void |
setDateHeader(java.lang.String name,
long value)
|
void |
setHeader(java.lang.String name,
java.lang.String value)
|
void |
setIntHeader(java.lang.String name,
int value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CacheContent()
| Method Detail |
|---|
public void send(javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
response -
java.io.IOExceptionpublic void sendHeaders(javax.servlet.http.HttpServletResponse response)
response -
public void setDateHeader(java.lang.String name,
long value)
public void setHeader(java.lang.String name,
java.lang.String value)
public void setIntHeader(java.lang.String name,
int value)
public java.io.OutputStream getOutputStream()
responseStream -
public java.io.PrintWriter getWriter()
public void setContentType(java.lang.String contentType)
public java.lang.String getContentType()
public void flush(javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
response -
java.io.IOExceptionpublic int getContentLength()
public void setContentLength(int contentLength)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||