com.day.cq.collab.calendar.servlets
Class ICalImportServlet
java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
org.apache.sling.api.servlets.SlingAllMethodsServlet
com.day.cq.collab.calendar.servlets.ICalImportServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class ICalImportServlet
- extends org.apache.sling.api.servlets.SlingAllMethodsServlet
ICalImportServlet imports calendar files into the
repository. Currently it supports the icalendar (*.ics) format. The request
must be a (form) POST containing the calendar file in the "file" parameter
and the extension of the request URL must be "ics". The resource path does
not have to exist - in this case a calendar will be created at that path
first.
- See Also:
- Serialized Form
|
Method Summary |
protected void |
doPost(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response)
|
| Methods inherited from class org.apache.sling.api.servlets.SlingAllMethodsServlet |
doDelete, doPut, getAllowedRequestMethods, isMethodValid, mayService |
| Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet |
doGeneric, doGet, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_PARAMETER
public static final String FILE_PARAMETER
- See Also:
- Constant Field Values
ICalImportServlet
public ICalImportServlet()
doPost
protected void doPost(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost in class org.apache.sling.api.servlets.SlingAllMethodsServlet
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2009 Day Management AG. All Rights Reserved.