public void handle(String contentType, InputStream content, MailboxSession mailboxSession, HttpServletResponse response) throws IOException, MailboxException { UploadResponse storedContent = uploadContent(contentType, content, mailboxSession); buildResponse(response, storedContent); }