|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.caja.ancillary.servlet.UploadPage
final class UploadPage
Invoked from a file upload form in files/upload.html to upload
a source code file. This calls back into uploaded
defined in
files/index.js with a JSON object containing the uploaded files
so that they can be folded into the parent frame's form.
Constructor Summary | |
---|---|
UploadPage()
|
Method Summary | |
---|---|
(package private) static void |
doUpload(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
private static void |
writeHeader(javax.servlet.http.HttpServletResponse resp)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
UploadPage()
Method Detail |
---|
static void doUpload(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws java.io.IOException
java.io.IOException
private static void writeHeader(javax.servlet.http.HttpServletResponse resp) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |