CommandServlet

public abstract class CommandServlet extends MessageServlet<I, O>

An HttpServlet representing a command endpoint.

Handles POST requests with commands in their bodies.

Constructors

Link copied to clipboard
protected void CommandServlet(CommandService commandService)

Functions

Link copied to clipboard
protected Ack handle(Command request)
Handles the servlet request and produces the response message.

Inherited functions

Link copied to clipboard
public void doPost(HttpServletRequest req, HttpServletResponse resp)