Router with <T> parameters

I Have a generic view, with parameter :

public class Tz1View<T> extends Div implements HasUrlParameter<String> {
	private static final long serialVersionUID = 2733343633272681260L;
	Map<String, List<String>> parameters;
	public void setParameter(BeforeEvent event, @OptionalParameter String parameter) {
		if(parameter==null) {
		Location location = event.getLocation();
	    QueryParameters queryParameters = location.getQueryParameters();
	    parameters = queryParameters.getParameters();

How do I pass the parameter on RouterLink?
Before in Vaadin 8 I did this normally, now I do not know how.