Interface TestandtargetCommand
- 
@ProviderType public interface TestandtargetCommandThe interface for commands executed byCommandServlet. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()The command's action name.HtmlResponseperformCommand(SlingHttpServletRequest request, SlingHttpServletResponse response)Executes the actual command. 
 - 
 
- 
- 
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 objectresponse- The response object- Returns:
 - The HTML response of the command
 - Throws:
 javax.servlet.ServletException-ServletExceptionjava.io.IOException-IOException
 
 - 
 
 -