
org.opentripplanner.ext.interactivelauncher.configuration.InteractiveLauncherModule Maven / Gradle / Ivy
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