use of com.enonic.xp.portal.impl.websocket.WebSocketEndpointImpl in project xp by enonic.
the class ServiceHandlerWorker method newWebSocketEndpoint.
private WebSocketEndpoint newWebSocketEndpoint(final WebSocketConfig config) {
final ApplicationKey app = this.request.getApplicationKey();
final Trace trace = Tracer.current();
if (trace != null && app != null && !trace.containsKey("app")) {
trace.put("app", app.toString());
}
return new WebSocketEndpointImpl(config, this::getScript);
}
Aggregations