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

org.spincast.plugins.routing.ISpincastRouterConfig Maven / Gradle / Ivy

The newest version!
package org.spincast.plugins.routing;

import java.util.Set;

import org.spincast.core.routing.RoutingType;

import com.google.inject.ImplementedBy;

/**
 * Configurations for the Spincast Router.
 * 
 * We use "@ImplementedBy" to specify the default configurations
 * to use if none is specified in a Guice module.
 */
@ImplementedBy(SpincastRouterConfigDefault.class)
public interface ISpincastRouterConfig {

    /**
     * The routing types to apply a filter to when none is
     * explicitly specified.
     */
    public Set getFilterDefaultRoutingTypes();

    /**
     * The default position  for a cors "before" filter.
     * Must be < 0 ! 
     */
    public int getCorsFilterPosition();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy