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 java.lang.String
getName()
The command's action name.HtmlResponse
performCommand(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 ServletException, java.io.IOException
Executes the actual command.- Parameters:
request
- The request objectresponse
- The response object- Returns:
- The HTML response of the command
- Throws:
ServletException
-ServletException
java.io.IOException
-IOException
-
-