com.day.cq.collab.calendar.servlets
Class ICalNewImportServlet
java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
org.apache.sling.api.servlets.SlingAllMethodsServlet
com.day.cq.collab.calendar.servlets.ICalNewImportServlet
- All Implemented Interfaces:
- NonExistingResourceServlet, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.apache.sling.api.servlets.OptingServlet
public class ICalNewImportServlet
- extends org.apache.sling.api.servlets.SlingAllMethodsServlet
- implements NonExistingResourceServlet
ICalNewImportServlet imports calendar files into the repository
at non-existing paths. 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".
- See Also:
- Serialized Form
|
Method Summary |
boolean |
accepts(org.apache.sling.api.SlingHttpServletRequest request)
|
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 |
| Methods inherited from interface javax.servlet.Servlet |
destroy, getServletConfig, getServletInfo, init, service |
ICalNewImportServlet
public ICalNewImportServlet()
accepts
public boolean accepts(org.apache.sling.api.SlingHttpServletRequest request)
- Specified by:
accepts in interface org.apache.sling.api.servlets.OptingServlet
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.