Class RouterFunctionMapping

    • Constructor Detail

      • RouterFunctionMapping

        public RouterFunctionMapping()
        Create an empty RouterFunctionMapping.

        If this constructor is used, this mapping will detect all RouterFunction instances available in the application context.

      • RouterFunctionMapping

        public RouterFunctionMapping​(RouterFunction<?> routerFunction)
        Create a RouterFunctionMapping with the given RouterFunction.

        If this constructor is used, no application context detection will occur.

        Parameters:
        routerFunction - the router function to use for mapping