com.day.cq.wcm.offline
Class OfflineServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by org.apache.sling.api.servlets.SlingSafeMethodsServlet
          extended by org.apache.sling.api.servlets.SlingAllMethodsServlet
              extended by com.day.cq.wcm.offline.OfflineServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class OfflineServlet
extends org.apache.sling.api.servlets.SlingAllMethodsServlet

The offline editor servlet that allows both importing and exporting of Word documents that match CQ pages. A GET request on a .../path/to/page.offline.doc URL will return the exported Word document rendering of the identified page, and a POST request to the same URL will import the attached Word document(s) under the identified page.

See Also:
Serialized Form

Constructor Summary
OfflineServlet()
           
 
Method Summary
protected  void doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
           
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, 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
 

Constructor Detail

OfflineServlet

public OfflineServlet()
Method Detail

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

doGet

protected void doGet(org.apache.sling.api.SlingHttpServletRequest request,
                     org.apache.sling.api.SlingHttpServletResponse response)
              throws javax.servlet.ServletException,
                     IOException
Overrides:
doGet in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2009 Day Management AG. All Rights Reserved.