com.day.cq.extwidget.servlets
Class DialogServlet

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.extwidget.servlets.DialogServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class DialogServlet
extends SlingAllMethodsServlet

Handles requests for cq:Dialog nodes.

See Also:
Serialized Form

Constructor Summary
DialogServlet()
           
 
Method Summary
protected  void doPost(SlingHttpServletRequest request, SlingHttpServletResponse response)
          Called by the SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to handle an HTTP POST request.
 
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, doGet, 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
 

Constructor Detail

DialogServlet

public DialogServlet()
Method Detail

doPost

protected void doPost(SlingHttpServletRequest request,
                      SlingHttpServletResponse response)
               throws ServletException
Description copied from class: SlingAllMethodsServlet
Called by the SlingAllMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to handle an HTTP POST 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 POST method support.

Overrides:
doPost in class SlingAllMethodsServlet
Parameters:
request - The HTTP request
response - The HTTP response
Throws:
ServletException - Not thrown by this implementation.
See Also:
SlingAllMethodsServlet.doPost(org.apache.sling.api.SlingHttpServletRequest, org.apache.sling.api.SlingHttpServletResponse)


Copyright © 2011-2012 Adobe Systems Incorporated. All Rights Reserved.