Packages that use RequestWrapper
Package
Description
The SusiDNS webapp, which is the user interface for the addressbook application and the local naming service (hosts database) implemented in
net.i2p.client.naming. The SusiMail webapp (mail.war): webmail interface with POP3 and SMTP clients over I2P and local caching.
The router console user interface, implemented in routerconsole.jar, with these classes supporting the webapp in routerconsole.war.
The I2PSnark web interface (i2psnark.war): servlets and helpers for torrent management, file browsing and configuration.
Uses of RequestWrapper in i2p.susi.dns
Methods in i2p.susi.dns with parameters of type RequestWrapperModifier and TypeMethodDescriptionNamingServiceBean.importFile(RequestWrapper wrequest) Import entries from a file upload.Uses of RequestWrapper in i2p.susi.webmail
Methods in i2p.susi.webmail with parameters of type RequestWrapperModifier and TypeMethodDescriptionprivate static booleanWebMail.buttonPressed(RequestWrapper request, String key) Check whether the named submit button "was pressed" in the request.private static StringBuilderWebMail.composeDraft(WebMail.SessionObject sessionObject, RequestWrapper request) Take the data from the request, and put it in a StringBuilder suitable for writing out as a Draft.WebMail.getCheckedItems(RequestWrapper request) Returns e.g.WebMail.getCurrentFolder(WebMail.SessionObject session, RequestWrapper request) The folder selected in the request.private static MailCacheWebMail.getCurrentMailCache(WebMail.SessionObject session, RequestWrapper request) The mail cache for the requested folder.private static WebMail.StateWebMail.processComposeButtons(WebMail.SessionObject sessionObject, RequestWrapper request) Process buttons of compose message dialog This must be called BEFORE processStateChangeButtons so we can add the attachment before SEND.private static WebMail.StateWebMail.processConfigButtons(WebMail.SessionObject sessionObject, RequestWrapper request, boolean isPOST, WebMail.State state) Processes the config buttons, both entering and exiting the page.private static booleanWebMail.processDownloadLink(WebMail.SessionObject sessionObject, String showUIDL, RequestWrapper request, HttpServletResponse response) Process download link in message view.private static voidWebMail.processDraftAttachmentLink(WebMail.SessionObject sessionObject, RequestWrapper request, HttpServletResponse response) Process thumbnail link in compose view Draft attachments are stored in the SessionObject and identified by hashcode only.private static intWebMail.processFolderButtons(WebMail.SessionObject sessionObject, int page, RequestWrapper request) Process buttons of folder view.private static WebMail.StateWebMail.processGenericButtons(WebMail.SessionObject sessionObject, RequestWrapper request, WebMail.State state) Handle the common folder and message buttons.private static WebMail.StateWebMail.processLogin(WebMail.SessionObject sessionObject, RequestWrapper request, WebMail.State state) Start of state change and button processing: handle the login form, connecting to the mailbox.private static WebMail.StateWebMail.processLogout(WebMail.SessionObject sessionObject, RequestWrapper request, boolean isPOST, WebMail.State state) End the session and show the login page.private static StringWebMail.processMessageButtons(WebMail.SessionObject sessionObject, String showUIDL, RequestWrapper request) Process buttons of message view.private static booleanWebMail.processSaveAsLink(WebMail.SessionObject sessionObject, String showUIDL, RequestWrapper request, HttpServletResponse response) Process save-as link in message view.private static voidWebMail.processSortingButtons(WebMail.SessionObject sessionObject, RequestWrapper request) Applies the sort buttons found in the request.private static WebMail.StateWebMail.processStateChangeButtons(WebMail.SessionObject sessionObject, RequestWrapper request, boolean isPOST, WebMail.State state) Process all buttons, which possibly change internal state.private static voidWebMail.showCompose(PrintWriter out, WebMail.SessionObject sessionObject, RequestWrapper request) Show the compose form.private static voidWebMail.showFolder(PrintWriter out, WebMail.SessionObject sessionObject, MailCache mc, RequestWrapper request) Show the message list for a folder.private static voidWebMail.showLoading(PrintWriter out, WebMail.SessionObject sessionObject, RequestWrapper request) Show the loading page, refreshed by meta tag.Uses of RequestWrapper in net.i2p.router.web
Fields in net.i2p.router.web declared as RequestWrapperModifier and TypeFieldDescriptionprotected RequestWrapperFormHandler._requestWrapperOnly for multipart/form-data.Methods in net.i2p.router.web with parameters of type RequestWrapperModifier and TypeMethodDescriptionvoidFormHandler.setRequestWrapper(RequestWrapper rw) Only set by formhandler.jsi for multipart/form-data.Uses of RequestWrapper in org.klomp.snark.web
Methods in org.klomp.snark.web with parameters of type RequestWrapperModifier and TypeMethodDescriptionprivate voidI2PSnarkServlet.handleAddFile(String newFile, File torrentDir, File dataDir, RequestWrapper reqw) Handles adding a torrent from an uploaded file.private voidI2PSnarkServlet.handleAddURL(String newURL, File dataDir, RequestWrapper reqw) Handles adding a torrent from a URL or magnet link.