src/main/java/io/netty/handler/codec/http/router/MethodlessRouter.java
public void removePathPattern(String pathPattern) {
        first.removePathPattern(pathPattern);
        other.removePathPattern(pathPattern);
        last.removePathPattern(pathPattern);
    }
public void removePathPattern(String pathPattern) {
        first.removePathPattern(pathPattern);
        other.removePathPattern(pathPattern);
        last.removePathPattern(pathPattern);
    }
Removes the route specified by the path pattern.