2 * Copyright (c) 2019 Red Hat, Inc. and others. 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.netconf.sal.restconf.api;
10 import java.net.InetAddress;
13 * Configuration for the RESTCONF server.
15 * @author Michael Vorburger.ch
17 public interface RestConfConfig {
20 * IP interface which the WebSocket server will listen on.
22 default InetAddress webSocketAddress() {
23 return InetAddress.getLoopbackAddress();
27 * TCP port which the WebSocket server will listen on.