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.gpslogger;
15 import org.eclipse.jdt.annotation.NonNullByDefault;
16 import org.openhab.binding.gpstracker.internal.discovery.TrackerDiscoveryService;
17 import org.openhab.binding.gpstracker.internal.provider.AbstractCallbackServlet;
18 import org.openhab.binding.gpstracker.internal.provider.TrackerRegistry;
21 * Callback servlet for GPSLogger
23 * @author Gabor Bicskei - Initial contribution
26 public class GPSLoggerCallbackServlet extends AbstractCallbackServlet {
28 private static final long serialVersionUID = -6992472786850682196L;
33 private static final String CALLBACK_PATH = "/gpstracker/gpslogger";
38 private static final String PROVIDER = "GPSLogger";
41 * Constructor called at binding startup.
43 * @param discoveryService Discovery service for new trackers.
44 * @param trackerRegistry Tracker registry
46 public GPSLoggerCallbackServlet(TrackerDiscoveryService discoveryService, TrackerRegistry trackerRegistry) {
47 super(discoveryService, trackerRegistry);
51 public String getPath() {
56 protected String getProvider() {