|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Response org.apache.wicket.protocol.http.WebResponse org.apache.wicket.protocol.http.BufferedWebResponse
public class BufferedWebResponse
Subclass of WebResponse which buffers output and any redirection.
Field Summary |
---|
Fields inherited from class org.apache.wicket.protocol.http.WebResponse |
---|
redirect |
Constructor Summary | |
---|---|
BufferedWebResponse(javax.servlet.http.HttpServletResponse httpServletResponse)
Package private constructor. |
Method Summary | |
---|---|
void |
close()
Flushes the response buffer by doing a redirect or writing out the buffer. |
void |
filter()
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. |
void |
redirect(java.lang.String url)
Saves url to redirect to when buffered response is flushed. |
void |
reset()
Called when the Response needs to reset itself. |
java.lang.String |
toString()
|
void |
write(java.lang.CharSequence string)
Writes string to response output. |
Methods inherited from class org.apache.wicket.protocol.http.WebResponse |
---|
addCookie, clearCookie, encodeURL, getHttpServletResponse, getOutputStream, isAjax, isRedirect, setAjax, setAttachmentHeader, setContentLength, setContentType, setDateHeader, setHeader, setLastModifiedTime, setLocale, write |
Methods inherited from class org.apache.wicket.Response |
---|
detectContentType, filter, getCharacterEncoding, println, setCharacterEncoding, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BufferedWebResponse(javax.servlet.http.HttpServletResponse httpServletResponse)
httpServletResponse
- The servlet response objectMethod Detail |
---|
public void close()
close
in class WebResponse
public void reset()
Response
reset
in class Response
Response.reset()
public final void redirect(java.lang.String url)
redirect
in class WebResponse
url
- The URL to redirect topublic void write(java.lang.CharSequence string)
write
in class WebResponse
string
- The string to writepublic final void filter()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |