public ServerWebExchangeLimiterBuilder partitionByPathInfo(
			Function<String, String> pathToGroup) {
		return partitionResolver(exchange -> {
			// TODO: pathWithinApplication?
			String path = exchange.getRequest().getPath().contextPath().value();
			return Optional.ofNullable(path).map(pathToGroup).orElse(null);
		});
	}
public ServerWebExchangeLimiterBuilder partitionByPathInfo(
			Function<String, String> pathToGroup) {
		return partitionResolver(exchange -> {
		
			String path = exchange.getRequest().getPath().contextPath().value();
			return Optional.ofNullable(path).map(pathToGroup).orElse(null);
		});
	}
public serverwebexchangelimiterbuilder partitionbypathinfo( function<string, string> pathtogroup) { return partitionresolver(exchange -> { string path = exchange.getrequest().getpath().contextpath().value(); return optional.ofnullable(path).map(pathtogroup).orelse(null); }); }