content = content.replaceAll("[\\x00-\\x09\\x11\\x12\\x14-\\x1F\\x7F]", "");
打印特殊符号:
String s = new String( Character.toChars(0));
System.out.println((char)0);
2024-06-20 17:21:26.155 ERROR 5584 --- [6884333_inbound] c.g.u.ParseUtils : parse content error, content:, error: No content to map due to end-of-input at [Source: (String)""; line: 1, column: 0]
2024-06-22 14:23:03.017 ERROR 5584 --- [8 1719037171987] c.g.m.MqttPushCallback : connectionlost:已断开连接,trace:[org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:189), java.lang.Thread.run(Unknown Source)]
paho java mqtt EOFexception connectionLost