2 * Copyright (c) 2020 Lumina Networks, Inc. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.restconf.nb.rfc8040;
10 import java.util.List;
11 import javax.inject.Inject;
12 import javax.inject.Singleton;
13 import org.opendaylight.restconf.nb.rfc8040.databind.DatabindProvider;
14 import org.opendaylight.restconf.nb.rfc8040.rests.services.impl.RestconfDataStreamServiceImpl;
17 * Restconf Application extends {@link AbstractRestconfApplication}. Is used for sending SSE.
20 public class DataStreamApplication extends AbstractRestconfApplication {
22 public DataStreamApplication(final DatabindProvider databindProvider,
23 final RestconfDataStreamServiceImpl dataStreamService) {
24 super(databindProvider, List.of(dataStreamService));