/** * Activate receipt of incoming messages. */ protected void activate() { super.activate(); LOG.log(Level.FINE, "Activating receipt of incoming messages"); // pick the handler supporting websocket if jetty-websocket is available otherwise pick the default handler. if (engine != null) { handler = createJettyHTTPHandler(this, contextMatchOnExact()); engine.addServant(nurl, handler); } }
/** * Activate receipt of incoming messages. */ protected void activate() { super.activate(); LOG.log(Level.FINE, "Activating receipt of incoming messages"); if (engine != null) { UndertowHTTPHandler jhd = createUndertowHTTPHandler(this, contextMatchOnExact()); engine.addServant(nurl, jhd); } }
/** * Activate receipt of incoming messages. */ protected void activate() { super.activate(); LOG.log(Level.FINE, "Activating receipt of incoming messages"); if (engine != null) { UndertowHTTPHandler jhd = createUndertowHTTPHandler(this, contextMatchOnExact()); engine.addServant(nurl, jhd); } }
/** * Activate receipt of incoming messages. */ protected void activate() { super.activate(); LOG.log(Level.FINE, "Activating receipt of incoming messages"); // pick the handler supporting websocket if jetty-websocket is available otherwise pick the default handler. if (engine != null) { handler = createJettyHTTPHandler(this, contextMatchOnExact()); engine.addServant(nurl, handler); } }
/** * Activate receipt of incoming messages. */ public void activate() { super.activate(); LOG.debug("Activating receipt of incoming messages"); Class<?> serviceClass = endpointInfo.getProperty("serviceClass", Class.class); if (serviceClass != null && this.loader == null) { final ClassLoader cl = serviceClass.getClassLoader(); LOG.debug("Using classloader {} obtained via endpointInfo serviceClass", cl); this.loader = cl; } if (engine != null) { UndertowHTTPHandler jhd = createJettyHTTPHandler(this, contextMatchOnExact()); engine.addServant(nurl, jhd); } }