
org.opentripplanner.standalone.server.OTPWebApplicationParameters Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
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