Class<?> jjs = getClass().getClassLoader().loadClass("com.corundumstudio.socketio.protocol.JacksonJsonSupport"); JsonSupport js = (JsonSupport) jjs.getConstructor().newInstance(); conf.setJsonSupport(js); } catch (Exception e) { throw new IllegalArgumentException(e); setJsonSupport(new JsonSupportWrapper(conf.getJsonSupport())); setContext(conf.getContext()); setAllowCustomRequests(conf.isAllowCustomRequests());
Class<?> jjs = getClass().getClassLoader().loadClass("com.corundumstudio.socketio.protocol.JacksonJsonSupport"); JsonSupport js = (JsonSupport) jjs.getConstructor().newInstance(); conf.setJsonSupport(js); } catch (Exception e) { throw new IllegalArgumentException(e); setJsonSupport(new JsonSupportWrapper(conf.getJsonSupport())); setContext(conf.getContext()); setAllowCustomRequests(conf.isAllowCustomRequests());