org.opencrx.application.mail.importer
Class MailImporterServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opencrx.application.mail.importer.MailImporterServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class MailImporterServlet
- extends HttpServlet
The EMailImporterServlet imports E-Mails from a configured Mail server
and folder as openCRX EMail activities. Activities are created either
with a default EMail activity creator or by the activity creator defined
by the EMail subject.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailImporterServlet
public MailImporterServlet()
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init in interface Servlet- Overrides:
init in class GenericServlet
- Throws:
ServletException
importMessages
protected void importMessages(String providerName,
String segmentName)
throws IOException
- Throws:
IOException
handleRequest
protected void handleRequest(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Process an email import request.
- Parameters:
req - The servlet requestres - The servlet response
- Throws:
ServletException
IOException
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Overrides:
doGet in class HttpServlet
- Throws:
ServletException
IOException
doPost
protected void doPost(HttpServletRequest req,
HttpServletResponse res)
throws ServletException,
IOException
- Overrides:
doPost in class HttpServlet
- Throws:
ServletException
IOException
This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.