|
||||||||||
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.response.FileResponse
public final class FileResponse
A Response implementation that writes to a file.
Constructor Summary | |
---|---|
FileResponse(File file)
Constructor |
Method Summary | |
---|---|
void |
close()
Closes the response output stream |
java.io.OutputStream |
getOutputStream()
|
void |
write(java.lang.CharSequence string)
Writes the given string to the Response subclass output destination. |
Methods inherited from class org.apache.wicket.Response |
---|
detectContentType, encodeURL, filter, getCharacterEncoding, isRedirect, println, redirect, reset, setCharacterEncoding, setContentLength, setContentType, setLastModifiedTime, setLocale, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileResponse(File file)
file
- The file to write toMethod Detail |
---|
public void close()
Response
close
in class Response
Response.close()
public java.io.OutputStream getOutputStream()
getOutputStream
in class Response
Response.getOutputStream()
public void write(java.lang.CharSequence string)
Response
write
in class Response
string
- The string to writeResponse.write(CharSequence)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |