code: @Override
      protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
          preProcessRequest(request);
  
          DefaultServerDolphin serverDolphin = resolveServerDolphin(request);
  
          String input = readInput(request);
          if (LOG.isLoggable(Level.FINEST)) {
              LOG.finest("received json: " + input);
          }
  
          List<Command> commands = decodeInput(serverDolphin.getServerConnector().getCodec(), input);
  
          List<Command> results = handleCommands(serverDolphin.getServerConnector(), commands);
  
          String output = encodeOutput(serverDolphin.getServerConnector().getCodec(), results);
  
          writeHeaders(request, response, results);
  
          if (LOG.isLoggable(Level.FINEST)) {
              LOG.finest("sending json response: " + output);
          }
          writeOutput(response, output);
  
          postProcessResponse(response);
      }
docs: TODO: should this method be final?