src/main/java/io/netty/handler/codec/http/router/OrderlessRouter.java
public void removePathPattern(String pathPattern) {
        PathPattern p = new PathPattern(pathPattern);
        T target = routes.remove(p);
        if (target == null) {
            return;
        }

        Set<PathPattern> paths = reverseRoutes.remove(target);
        paths.remove(p);
    }
public void removePathPattern(String pathPattern) {
        PathPattern p = new PathPattern(pathPattern);
        T target = routes.remove(p);
        if (target == null) {
            return;
        }

        Set<PathPattern> paths = reverseRoutes.remove(target);
        paths.remove(p);
    }
Removes the route specified by the path pattern.