
org.opentripplanner.ext.interactivelauncher.configuration.InteractiveLauncherModule 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.ext.interactivelauncher.configuration;
import dagger.Module;
import dagger.Provides;
import org.opentripplanner.ext.interactivelauncher.api.LauncherRequestDecorator;
@Module
public class InteractiveLauncherModule {
static LauncherRequestDecorator decorator = request -> request;
public static void setRequestInterceptor(LauncherRequestDecorator decorator) {
InteractiveLauncherModule.decorator = decorator;
}
@Provides
LauncherRequestDecorator requestDecorator() {
return decorator;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy