2 * Copyright (c) 2010-2021 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.util.ShellyTranslationProvider;
20 import org.openhab.core.thing.Thing;
21 import org.slf4j.Logger;
22 import org.slf4j.LoggerFactory;
25 * The {@link ShellyProtectedHandler} implements a dummy handler for password protected devices.
27 * @author Markus Michels - Initial contribution
30 public class ShellyProtectedHandler extends ShellyBaseHandler {
31 private final Logger logger = LoggerFactory.getLogger(ShellyProtectedHandler.class);
36 * @param thing The thing passed by the HandlerFactory
37 * @param bindingConfig configuration of the binding
38 * @param coapServer coap server instance
39 * @param localIP local IP of the openHAB host
40 * @param httpPort port of the openHAB HTTP API
42 public ShellyProtectedHandler(final Thing thing, final ShellyTranslationProvider translationProvider,
43 final ShellyBindingConfiguration bindingConfig, final ShellyCoapServer coapServer, final String localIP,
44 int httpPort, final HttpClient httpClient) {
45 super(thing, translationProvider, bindingConfig, coapServer, localIP, httpPort, httpClient);
49 public void initialize() {