package org.roklib.urifragmentrouting;

import org.roklib.urifragmentrouting.parameter.value.CapturedParameterValues;

@FunctionalInterface
public interface UriActionCommandFactory<C> {

    UriActionCommand createUriActionCommand(String currentUriFragment, CapturedParameterValues parameterValues, C routingContext);

}

Add interface UriActionCommandFactory A factory interface which can be used as an alternative to a concrete action command class. This factory can create new action command objects during the URI fragment interpretation process.