this.connectionInterceptorFactory = connectionInterceptorFactory;
}
@Override
protected Map<String, ?> supplyCustomHeaders(TcpConnection connection) {
WebSocketTcpConnectionInterceptor interceptor = this.connectionInterceptorFactory.locateInterceptor(connection);
return interceptor == null ? null : interceptor.getAdditionalHeaders();
}