com.day.cq.extwidget.servlets
Class ExtMediaListServlet
java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
org.apache.sling.api.servlets.SlingAllMethodsServlet
com.day.cq.commons.servlets.AbstractPredicateServlet
com.day.cq.extwidget.servlets.ExtMediaListServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class ExtMediaListServlet
- extends AbstractPredicateServlet
Servlet that writes a JSON representations of the media
items within a folder that can be used with the CQ.Ext.DataView of the
CQ.MediaBrowseDialog.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtMediaListServlet
public ExtMediaListServlet()
doGet
protected void doGet(SlingHttpServletRequest request,
SlingHttpServletResponse response,
org.apache.commons.collections.Predicate predicate)
throws ServletException,
IOException
- Handles the HTTP GET method
- Overrides:
doGet in class AbstractPredicateServlet
- Parameters:
request - The HTTP requestresponse - The HTTP responsepredicate - the predicate retrieved from the request
- Throws:
ServletException - if a servlet error occurs
IOException - if an I/O error occurs
Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.