2 * Copyright (c) 2010-2023 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.gpstracker.internal.provider.owntracks;
15 import org.openhab.binding.gpstracker.internal.discovery.TrackerDiscoveryService;
16 import org.openhab.binding.gpstracker.internal.provider.AbstractCallbackServlet;
17 import org.openhab.binding.gpstracker.internal.provider.TrackerRegistry;
20 * Callback servlet for OwnTracks trackers
22 * @author Gabor Bicskei - Initial contribution
24 public class OwnTracksCallbackServlet extends AbstractCallbackServlet {
26 private static final long serialVersionUID = -4053305903339688036L;
31 private static final String CALLBACK_PATH = "/gpstracker/owntracks";
36 private static final String PROVIDER = "OwnTracks";
39 * Constructor called at binding startup.
41 * @param discoveryService Discovery service for new trackers.
42 * @param trackerRegistry Tracker registry
44 public OwnTracksCallbackServlet(TrackerDiscoveryService discoveryService, TrackerRegistry trackerRegistry) {
45 super(discoveryService, trackerRegistry);
49 public String getPath() {
54 protected String getProvider() {