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

org.opentripplanner.standalone.server.OTPWebApplicationParameters Maven / Gradle / Ivy

The newest version!
package org.opentripplanner.standalone.server;

import java.util.List;

/**
 * Parameters used to configure the {@link OTPWebApplication}.
 */
public interface OTPWebApplicationParameters {
  /**
   * The HTTP request/response trace/correlation-id headers to use.
   */
  List traceParameters();

  default boolean requestTraceLoggingEnabled() {
    return traceParameters().stream().anyMatch(RequestTraceParameter::hasLogKey);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy