private String parseFreeBusyToICS(AccessToken at, Request request, XmlResponder responder) throws SAXException, IOException, FactoryConfigurationError, ServerFault { String fbAsString = request.getParameter("freebusy"); Document doc = DOMUtils.parse(fbAsString); FreeBusy fb = cip.parseFreeBusy(doc.getDocumentElement()); String ics = binding.parseFreeBusyToICS(at, fb); return responder.sendString(ics); }
private String getUserEmail(AccessToken at, XmlResponder responder) throws ServerFault { String ue = binding.getUserEmail(at); return responder.sendString(ue); }
private String parseEvent(AccessToken at, Request request, XmlResponder responder) throws SAXException, IOException, FactoryConfigurationError, ServerFault { Event event = getEvent(request); String ics = binding.parseEvent(at, event); return responder.sendString(ics); }