Class NetworkControllerImpl
java.lang.Object
org.eblocker.server.http.controller.impl.NetworkControllerImpl
- All Implemented Interfaces:
NetworkController
Performs basic network configuration of the system (e.g. IP address, gateway, DHCP, ...)
-
Constructor Summary
ConstructorsConstructorDescriptionNetworkControllerImpl(DhcpDiscoveryService dhcpDiscoveryService, NetworkStateMachine networkStateMachine, NetworkServices networkServices) -
Method Summary
Modifier and TypeMethodDescriptiongetConfiguration(org.restexpress.Request request, org.restexpress.Response response) getConfigurationIp6(org.restexpress.Request request, org.restexpress.Response response) booleangetDHCPActive(org.restexpress.Request request, org.restexpress.Response response) getDhcpServers(org.restexpress.Request request, org.restexpress.Response response) getSetupPageInfo(org.restexpress.Request request, org.restexpress.Response response) updateConfiguration(org.restexpress.Request request, org.restexpress.Response response) updateConfigurationIp6(org.restexpress.Request request, org.restexpress.Response response)
-
Constructor Details
-
NetworkControllerImpl
@Inject public NetworkControllerImpl(DhcpDiscoveryService dhcpDiscoveryService, NetworkStateMachine networkStateMachine, NetworkServices networkServices)
-
-
Method Details
-
getConfiguration
- Specified by:
getConfigurationin interfaceNetworkController
-
getSetupPageInfo
- Specified by:
getSetupPageInfoin interfaceNetworkController
-
updateConfiguration
public Object updateConfiguration(org.restexpress.Request request, org.restexpress.Response response) - Specified by:
updateConfigurationin interfaceNetworkController
-
getDHCPActive
public boolean getDHCPActive(org.restexpress.Request request, org.restexpress.Response response) - Specified by:
getDHCPActivein interfaceNetworkController
-
getDhcpServers
public Set<String> getDhcpServers(org.restexpress.Request request, org.restexpress.Response response) - Specified by:
getDhcpServersin interfaceNetworkController
-
getConfigurationIp6
public Object getConfigurationIp6(org.restexpress.Request request, org.restexpress.Response response) - Specified by:
getConfigurationIp6in interfaceNetworkController
-
updateConfigurationIp6
public Object updateConfigurationIp6(org.restexpress.Request request, org.restexpress.Response response) - Specified by:
updateConfigurationIp6in interfaceNetworkController
-