Browse Source

jackson路径

10.0
richie 7 years ago
parent
commit
8e4395fff5
  1. 2
      fine-socketio/src/com/fr/third/socketio/Configuration.java

2
fine-socketio/src/com/fr/third/socketio/Configuration.java

@ -106,7 +106,7 @@ public class Configuration {
if (conf.getJsonSupport() == null) { if (conf.getJsonSupport() == null) {
try { try {
getClass().getClassLoader().loadClass("com.fasterxml.jackson.databind.ObjectMapper"); getClass().getClassLoader().loadClass("com.fr.third.fasterxml.jackson.databind.ObjectMapper");
try { try {
Class<?> jjs = getClass().getClassLoader().loadClass("com.fr.third.socketio.protocol.JacksonJsonSupport"); Class<?> jjs = getClass().getClassLoader().loadClass("com.fr.third.socketio.protocol.JacksonJsonSupport");
JsonSupport js = (JsonSupport) jjs.getConstructor().newInstance(); JsonSupport js = (JsonSupport) jjs.getConstructor().newInstance();

Loading…
Cancel
Save