All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentcs.kernel.extensions.servicewebapi.RequestHandler Maven / Gradle / Ivy

There is a newer version: 6.2.0
Show newest version
/**
 * Copyright (c) The openTCS Authors.
 *
 * This program is free software and subject to the MIT license. (For details,
 * see the licensing information (LICENSE.txt) you should have received with
 * this copy of the software.)
 */
package org.opentcs.kernel.extensions.servicewebapi;

import org.opentcs.components.Lifecycle;
import spark.Service;

/**
 * A request handler.
 *
 * @author Stefan Walter (Fraunhofer IML)
 */
public interface RequestHandler
    extends Lifecycle {

  /**
   * Registers the handler's routes with the given service.
   *
   * @param service The service to register the routes with.
   */
  void addRoutes(Service service);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy