com.day.cq.widget.servlets
Class ExtTreeExportServlet

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.commons.servlets.AbstractPredicateServlet
                  extended by com.day.cq.widget.servlets.ExtTreeExportServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

Deprecated. use the resource addressed ExtTreeServlet.

public class ExtTreeExportServlet
extends AbstractPredicateServlet

Exports the resource tree at a specified path in JSON format to the response. This can be used by the EXT tree loader

See Also:
Serialized Form

Field Summary
static String DEPTH_PARAM
          Deprecated. name of the depth parameter
static String PATH_PARAM
          Deprecated. default path parameter name
 
Fields inherited from class com.day.cq.commons.servlets.AbstractPredicateServlet
FILTER_PARAM, PREDICATE_PARAM
 
Constructor Summary
ExtTreeExportServlet()
          Deprecated.  
 
Method Summary
protected  void doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, org.apache.commons.collections.Predicate predicate)
          Deprecated. Handles the HTTP GET method
 
Methods inherited from class com.day.cq.commons.servlets.AbstractPredicateServlet
doGet, getPredicate, selectorPredicateStart
 
Methods inherited from class org.apache.sling.api.servlets.SlingAllMethodsServlet
doDelete, doPost, 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, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATH_PARAM

public static final String PATH_PARAM
Deprecated. 
default path parameter name

See Also:
Constant Field Values

DEPTH_PARAM

public static final String DEPTH_PARAM
Deprecated. 
name of the depth parameter

See Also:
Constant Field Values
Constructor Detail

ExtTreeExportServlet

public ExtTreeExportServlet()
Deprecated. 
Method Detail

doGet

protected void doGet(org.apache.sling.api.SlingHttpServletRequest request,
                     org.apache.sling.api.SlingHttpServletResponse response,
                     org.apache.commons.collections.Predicate predicate)
              throws javax.servlet.ServletException,
                     IOException
Deprecated. 
Handles the HTTP GET method

Overrides:
doGet in class AbstractPredicateServlet
Parameters:
request - The HTTP request
response - The HTTP response
predicate - the predicate retrieved from the request
Throws:
javax.servlet.ServletException - if a servlet error occurs
IOException - if an I/O error occurs


Copyright © 2008 Day Management AG. All Rights Reserved.