com.day.cq.tagging.servlets
Class TagListServlet
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.commons.servlets.AbstractListServlet
com.day.cq.tagging.servlets.TagListServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class TagListServlet
- extends AbstractListServlet
Provides a JSON representation of child tags (for a cq:Tag resource or the tag base path),
a list of tag suggestions by a partial title or name, or of all tags referenced by a
cq:Taggable resource.
- See Also:
- Serialized Form
| Fields inherited from class com.day.cq.commons.servlets.AbstractListServlet |
admin, CONTENT_TYPE, DEFAULT_SORT_DIR, DEFAULT_SORT_KEY, DEFAULT_TIDY, ENCODING, listInfoProvider, PAGE_INDEX, PAGE_LIMIT, PAGE_START, PATH, PROP, repository, SORT_ASCENDING, SORT_DESCENDING, SORT_DIR, SORT_KEY, TIDY |
| Methods inherited from class com.day.cq.commons.servlets.AbstractListServlet |
activate, applyPaging, applySorting, bindListInfoProvider, deactivate, doGet, getItems, getPagingIndex, processItems, registerProvider, unbindListInfoProvider, write, writeCustomProperties, writeKey, writeOptionalDateKey, writeOptionalKey, writePagingIndex |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagListServlet
public TagListServlet()
doGet
protected void doGet(SlingHttpServletRequest request,
SlingHttpServletResponse response)
throws ServletException,
IOException
- Description copied from class:
AbstractPredicateServlet
- Called by the
SlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to
handle an HTTP GET request.
This default implementation reports back to the client that the method is
not supported.
Implementations of this class should overwrite this method with their
implementation for the HTTP GET method support.
Calls AbstractPredicateServlet.doGet(SlingHttpServletRequest, SlingHttpServletResponse, Predicate).
- Overrides:
doGet in class AbstractPredicateServlet
- Parameters:
request - The HTTP requestresponse - The HTTP response
- Throws:
ServletException - Not thrown by this implementation.
IOException - If the error status cannot be reported back to the
client.
Copyright © 2011-2012 Adobe Systems Incorporated. All Rights Reserved.