Interface TestandtargetCommand
-
@ProviderType public interface TestandtargetCommand
The interface for commands executed byCommandServlet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()The command's action name.HtmlResponseperformCommand(SlingHttpServletRequest request, SlingHttpServletResponse response)Executes the actual command.
-
-
-
Method Detail
-
getName
String getName()
The command's action name.- Returns:
- Name of action
-
performCommand
HtmlResponse performCommand(SlingHttpServletRequest request, SlingHttpServletResponse response) throws ServletException, IOException
Executes the actual command.- Parameters:
request- The request objectresponse- The response object- Returns:
- The HTML response of the command
- Throws:
ServletException-ServletExceptionIOException-IOException
-
-