Interface TestandtargetCommand


  • @ProviderType
    public interface TestandtargetCommand
    The interface for commands executed by CommandServlet.
    • Method Detail

      • getName

        java.lang.String getName()
        The command's action name.
        Returns:
        Name of action
      • performCommand

        HtmlResponse performCommand​(SlingHttpServletRequest request,
                                    SlingHttpServletResponse response)
                             throws javax.servlet.ServletException,
                                    java.io.IOException
        Executes the actual command.
        Parameters:
        request - The request object
        response - The response object
        Returns:
        The HTML response of the command
        Throws:
        javax.servlet.ServletException - ServletException
        java.io.IOException - IOException