2 * Copyright (c) 2010-2022 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.shelly.internal.handler;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.eclipse.jetty.client.HttpClient;
17 import org.openhab.binding.shelly.internal.coap.ShellyCoapServer;
18 import org.openhab.binding.shelly.internal.config.ShellyBindingConfiguration;
19 import org.openhab.binding.shelly.internal.provider.ShellyTranslationProvider;
20 import org.openhab.core.thing.Thing;
23 * The {@link ShellyProtectedHandler} implements a dummy handler for password protected devices.
25 * @author Markus Michels - Initial contribution
28 public class ShellyProtectedHandler extends ShellyBaseHandler {
32 * @param thing The thing passed by the HandlerFactory
33 * @param bindingConfig configuration of the binding
34 * @param coapServer coap server instance
35 * @param localIP local IP of the openHAB host
36 * @param httpPort port of the openHAB HTTP API
38 public ShellyProtectedHandler(final Thing thing, final ShellyTranslationProvider translationProvider,
39 final ShellyBindingConfiguration bindingConfig, final ShellyCoapServer coapServer, final String localIP,
40 int httpPort, final HttpClient httpClient) {
41 super(thing, translationProvider, bindingConfig, coapServer, localIP, httpPort, httpClient);
45 public void initialize() {