class GetProfileAction extends RobotAction {

    @Override
    public boolean action(Request request, Response response) {<FILL_FUNCTION_BODY>}
}

        if (request.getNettyRequest() instanceof FullHttpRequest) {
            WFCMessage.User user = messagesStore.getUserInfo(robot.getUid());
            RestResult result;
            if (user == null) {
                result = RestResult.resultOf(ErrorCode.ERROR_CODE_NOT_EXIST);
            } else {
                OutputRobot outputRobot = new OutputRobot();
                outputRobot.fromUser(user);
                outputRobot.fromRobot(robot, false);
                result = RestResult.ok(outputRobot);
            }
            setResponseContent(result, response);
        }
        return true;
    
<methods>public non-sealed void <init>() ,public cn.wildfirechat.common.ErrorCode preAction(com.xiaoleilu.loServer.handler.Request, com.xiaoleilu.loServer.handler.Response) <variables>protected static final Logger LOG,protected cn.wildfirechat.proto.WFCMessage.Robot robot