40414243444546
@Override public void deleteMessage(String id) throws IOException { if (messages.containsKey(id)) { messages.remove(id); } else throw new HTTPException(404, "not found"); }